Module Name: src Committed By: leot Date: Tue Feb 21 09:23:31 UTC 2017
Modified Files: src/usr.bin/look: look.c Log Message: Properly check mmap(2) return value. We can end up with a segmentation fault if the user does not provide a regular file as look(1) file argument. Kindly reviewed by <Riastradh> To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/usr.bin/look/look.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.