-
Notifications
You must be signed in to change notification settings - Fork 4
Description
Code Security Report
Scan Metadata
Latest Scan: 2025-08-27 08:21pm
Total Findings: 4 | New Findings: 0 | Resolved Findings: 0
Tested Project Files: 60
Detected Programming Languages: 1 (C/C++ (Beta))
- Check this box to manually trigger a scan
Finding Details
Severity | Vulnerability Type | CWE | File | Data Flows | Detected | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Use After Free | 1 | 2025-01-15 05:55pm | |||||||||||||||||
|
fch->data = fces->data; | |
fch->fces = fces; | |
} else { | |
if (fces) { | |
memcpy(fch->embed_fces, fces, nent * sizeof(*fces)); | |
free(fces); |
Secure Code Warrior Training Material
● Training
▪ Secure Code Warrior Use After Free Training
● Videos
🏴 Suppress Finding
- ... as False Alarm
- ... as Acceptable Risk
Vulnerable Code
libkdumpfile/src/kdumpfile/fcache.c
Lines 433 to 438 in 0da5b3b
fch->data = fces->data; | |
fch->fces = fces; | |
} else { | |
if (fces) { | |
memcpy(fch->embed_fces, fces, nent * sizeof(*fces)); | |
free(fces); |
Secure Code Warrior Training Material
● Training
▪ Secure Code Warrior Double Free Training
● Videos
🏴 Suppress Finding
- ... as False Alarm
- ... as Acceptable Risk
Vulnerable Code
Lines 137 to 142 in 0da5b3b
newbuf = realloc(err->dyn, 1 + curlen + msglen + 1); | |
if (newbuf) { | |
if (err->dyn <= msg && msg <= err->dyn + 1) | |
msg += newbuf - err->dyn; | |
err->dyn = newbuf; | |
memmove(newbuf + msglen + 1, msg, curlen + 1); |
Secure Code Warrior Training Material
● Training
▪ Secure Code Warrior Out of Buffer Bounds Write Training
● Videos
🏴 Suppress Finding
- ... as False Alarm
- ... as Acceptable Risk
Vulnerable Code
libkdumpfile/src/kdumpfile/devmem.c
Lines 86 to 91 in 0da5b3b
if (access(FN_XEN, F_OK) != 0) | |
return KDUMP_OK; /* No Xen */ | |
ret = KDUMP_OK; | |
xen_type = KDUMP_XEN_DOMAIN; | |
f = fopen(FN_XEN_CAPS, "r"); |
1 Data Flow/s detected
libkdumpfile/src/kdumpfile/devmem.c
Line 91 in 0da5b3b
f = fopen(FN_XEN_CAPS, "r"); |
Secure Code Warrior Training Material
● Training
▪ Secure Code Warrior Time of Check Time of Use Training
● Videos
🏴 Suppress Finding
- ... as False Alarm
- ... as Acceptable Risk