Comment Re:News flash (Score 1) 470
Obviously there is an example in the first page of the paper. What follows is mostly a direct quote from there.
char *buf =
char *buf_end =
unsigned int len =
if (buf + len >= buf_end)
return;
if (buf + len < buf)
return;
char *buf =
char *buf_end =
unsigned int len =
unsigned int buf_len= buf_end-buf;
if (len>buf_len) return;
There fixed it for ya.
They say they found this code in Chromium, Linux and Python.
If this had been some newb project i would have just frowned. But hearing those levels of incompetence reach so far hurts my head.