cppcheck/cve-test-suite/cve-2018-5334.c

10 lines
164 B
C
Raw Normal View History

2018-10-04 18:07:11 +02:00
// CVE-2018-5334
#define LEN 100
void f(const int *m_ptr, int sig_off, int rec_size)
{
if (m_ptr[sig_off] == 0xdd && (sig_off + 15 <= (rec_size - LEN))) {}
}