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

10 lines
164 B
C

// 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))) {}
}