Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The defined behaviour would be to discard the packet. In a secure language, the buffer would have had a "length" property, and the code would have crashed when a read beyond the buffer's end was attempted. But in C, buffers are just pointers, so there is fundamentally nothing wrong with reading beyond the end of the buffer. So instead of a crash, we get silent memory exposure.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: