CVSROOT: /cvs Module name: src Changes by: [email protected] 2017/12/08 10:26:42
Modified files:
usr.bin/locate/locate: fastfind.c
Log message:
Add missing length checks to make sure we don't dereference a pointer
past the mmap(2)'d buffer. Otherwise, locate will read a single
byte past the end of the buffer. This is often harmless, but if
the length of the buffer is an even multiple of the page size,
locate will crash. OK tb@ espie@ deraadt@
