« IntelDatasetApproved:test » : différence entre les versions
Aller à la navigation
Aller à la recherche
Aucun résumé des modifications |
Aucun résumé des modifications |
||
(29 versions intermédiaires par le même utilisateur non affichées) | |||
Ligne 1 : | Ligne 1 : | ||
[{"description":".\/pcap_sniffer.c: | [<br /> | ||
{<br /> | |||
"description": ".\/pcap_functions.c:93: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!\/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length.",<br /> | |||
"comment": "ok2"<br /> | |||
},<br /> | |||
{<br /> | |||
"description": ".\/pcap_functions.c:94: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!\/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length.",<br /> | |||
"comment": "ok3"<br /> | |||
},<br /> | |||
{<br /> | |||
"description": ".\/pcap_sniffer.c:15: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!\/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length.",<br /> | |||
"comment": "ok4"<br /> | |||
},<br /> | |||
{<br /> | |||
"description": ".\/pcap_sniffer.c:17: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!\/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length.",<br /> | |||
"comment": "ok1"<br /> | |||
},<br /> | |||
{<br /> | |||
"description": ".\/pcap_sniffer.c:20: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!\/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length.",<br /> | |||
"comment": "ok4"<br /> | |||
},<br /> | |||
{<br /> | |||
"description": ".\/pcap_sniffer.c:77: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended).",<br /> | |||
"comment": "ok5"<br /> | |||
},<br /> | |||
{<br /> | |||
"description": ".\/pcap_sniffer.c:51: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \\0-terminate or check for invalid pointers [MS-banned] (CWE-120).",<br /> | |||
"comment": "good"<br /> | |||
},<br /> | |||
{<br /> | |||
"description": "ok",<br /> | |||
"comment": "ok"<br /> | |||
},<br /> | |||
{<br /> | |||
"description": "ok",<br /> | |||
"comment": "ok"<br /> | |||
},<br /> | |||
{<br /> | |||
"description": "ok",<br /> | |||
"comment": "ok"<br /> | |||
},<br /> | |||
{<br /> | |||
"description": "ok",<br /> | |||
"comment": "ok"<br /> | |||
},<br /> | |||
{<br /> | |||
"description": "ok",<br /> | |||
"comment": "ok"<br /> | |||
},<br /> | |||
{<br /> | |||
"description": "comment",<br /> | |||
"comment": "comment"<br /> | |||
},<br /> | |||
{<br /> | |||
"description": ".\/pcap_sniffer.c:59: [1] (buffer) strncat: Easily used incorrectly (e.g., incorrectly computing the correct maximum size to add) [MS-banned] (<a href='https:\/\/cwe.mitre.org\/data\/definitions\/120.html' target='_blank' style='color: blue !important; text-decoration: underline;' >CWE-120<\/a>). Consider strcat_s, strlcat, snprintf, or automatically resizing strings.",<br /> | |||
"comment": "ok"<br /> | |||
},<br /> | |||
{<br /> | |||
"description": ".\/pcap_sniffer.c:59: [1] (buffer) strncat: Easily used incorrectly (e.g., incorrectly computing the correct maximum size to add) [MS-banned] (<a href='https:\/\/cwe.mitre.org\/data\/definitions\/120.html' target='_blank' style='color: blue !important; text-decoration: underline;' >CWE-120<\/a>). Consider strcat_s, strlcat, snprintf, or automatically resizing strings.",<br /> | |||
"comment": "ok"<br /> | |||
},<br /> | |||
{<br /> | |||
"description": "\/",<br /> | |||
"comment": "ok"<br /> | |||
},<br /> | |||
{<br /> | |||
"description": "p",<br /> | |||
"comment": "ok"<br /> | |||
},<br /> | |||
{<br /> | |||
"description": "c",<br /> | |||
"comment": "ok"<br /> | |||
},<br /> | |||
{<br /> | |||
"description": "a",<br /> | |||
"comment": "ok"<br /> | |||
},<br /> | |||
{<br /> | |||
"description": ".\/pcap_sniffer.c:59: [1] (buffer) strncat: Easily used incorrectly (e.g., incorrectly computing the correct maximum size to add) [MS-banned] (<a href='https:\/\/cwe.mitre.org\/data\/definitions\/120.html' target='_blank' style='color: blue !important; text-decoration: underline;' >CWE-120<\/a>). Consider strcat_s, strlcat, snprintf, or automatically resizing strings.",<br /> | |||
"comment": "ok"<br /> | |||
},<br /> | |||
{<br /> | |||
"description": ".\/pcap_sniffer.c:59: [1] (buffer) strncat: Easily used incorrectly (e.g., incorrectly computing the correct maximum size to add) [MS-banned] (<a href='https:\/\/cwe.mitre.org\/data\/definitions\/120.html' target='_blank' style='color: blue !important; text-decoration: underline;' >CWE-120<\/a>). Consider strcat_s, strlcat, snprintf, or automatically resizing strings.",<br /> | |||
"comment": "ok"<br /> | |||
},<br /> | |||
{<br /> | |||
"description": ".\/pcap_sniffer.c:59: [1] (buffer) strncat: Easily used incorrectly (e.g., incorrectly computing the correct maximum size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf, or automatically resizing strings.",<br /> | |||
"comment": "ok"<br /> | |||
},<br /> | |||
{<br /> | |||
"description": ".\/pcap_sniffer.c:63: [1] (buffer) strncat: Easily used incorrectly (e.g., incorrectly computing the correct maximum size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf, or automatically resizing strings.",<br /> | |||
"comment": "ok"<br /> | |||
},<br /> | |||
{<br /> | |||
"description": ".\/pcap_sniffer.c:55: [1] (buffer) strncat: Easily used incorrectly (e.g., incorrectly computing the correct maximum size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf, or automatically resizing strings.",<br /> | |||
"author": "korigan",<br /> | |||
"comment": "pouet"<br /> | |||
}<br /> | |||
] |
Dernière version du 9 mai 2024 à 00:39
[
{
"description": ".\/pcap_functions.c:93: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!\/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length.",
"comment": "ok2"
},
{
"description": ".\/pcap_functions.c:94: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!\/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length.",
"comment": "ok3"
},
{
"description": ".\/pcap_sniffer.c:15: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!\/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length.",
"comment": "ok4"
},
{
"description": ".\/pcap_sniffer.c:17: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!\/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length.",
"comment": "ok1"
},
{
"description": ".\/pcap_sniffer.c:20: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!\/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length.",
"comment": "ok4"
},
{
"description": ".\/pcap_sniffer.c:77: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended).",
"comment": "ok5"
},
{
"description": ".\/pcap_sniffer.c:51: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \\0-terminate or check for invalid pointers [MS-banned] (CWE-120).",
"comment": "good"
},
{
"description": "ok",
"comment": "ok"
},
{
"description": "ok",
"comment": "ok"
},
{
"description": "ok",
"comment": "ok"
},
{
"description": "ok",
"comment": "ok"
},
{
"description": "ok",
"comment": "ok"
},
{
"description": "comment",
"comment": "comment"
},
{
"description": ".\/pcap_sniffer.c:59: [1] (buffer) strncat: Easily used incorrectly (e.g., incorrectly computing the correct maximum size to add) [MS-banned] (<a href='https:\/\/cwe.mitre.org\/data\/definitions\/120.html' target='_blank' style='color: blue !important; text-decoration: underline;' >CWE-120<\/a>). Consider strcat_s, strlcat, snprintf, or automatically resizing strings.",
"comment": "ok"
},
{
"description": ".\/pcap_sniffer.c:59: [1] (buffer) strncat: Easily used incorrectly (e.g., incorrectly computing the correct maximum size to add) [MS-banned] (<a href='https:\/\/cwe.mitre.org\/data\/definitions\/120.html' target='_blank' style='color: blue !important; text-decoration: underline;' >CWE-120<\/a>). Consider strcat_s, strlcat, snprintf, or automatically resizing strings.",
"comment": "ok"
},
{
"description": "\/",
"comment": "ok"
},
{
"description": "p",
"comment": "ok"
},
{
"description": "c",
"comment": "ok"
},
{
"description": "a",
"comment": "ok"
},
{
"description": ".\/pcap_sniffer.c:59: [1] (buffer) strncat: Easily used incorrectly (e.g., incorrectly computing the correct maximum size to add) [MS-banned] (<a href='https:\/\/cwe.mitre.org\/data\/definitions\/120.html' target='_blank' style='color: blue !important; text-decoration: underline;' >CWE-120<\/a>). Consider strcat_s, strlcat, snprintf, or automatically resizing strings.",
"comment": "ok"
},
{
"description": ".\/pcap_sniffer.c:59: [1] (buffer) strncat: Easily used incorrectly (e.g., incorrectly computing the correct maximum size to add) [MS-banned] (<a href='https:\/\/cwe.mitre.org\/data\/definitions\/120.html' target='_blank' style='color: blue !important; text-decoration: underline;' >CWE-120<\/a>). Consider strcat_s, strlcat, snprintf, or automatically resizing strings.",
"comment": "ok"
},
{
"description": ".\/pcap_sniffer.c:59: [1] (buffer) strncat: Easily used incorrectly (e.g., incorrectly computing the correct maximum size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf, or automatically resizing strings.",
"comment": "ok"
},
{
"description": ".\/pcap_sniffer.c:63: [1] (buffer) strncat: Easily used incorrectly (e.g., incorrectly computing the correct maximum size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf, or automatically resizing strings.",
"comment": "ok"
},
{
"description": ".\/pcap_sniffer.c:55: [1] (buffer) strncat: Easily used incorrectly (e.g., incorrectly computing the correct maximum size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf, or automatically resizing strings.",
"author": "korigan",
"comment": "pouet"
}
]