Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-7] src/usr.bin/look



Module Name:    src
Committed By:   martin
Date:           Wed Jun  6 15:15:01 UTC 2018

Modified Files:
        src/usr.bin/look [netbsd-7]: look.c

Log Message:
Pull up following revision(s) (requested by leot in ticket #1610):

        usr.bin/look/look.c: revision 1.17

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.16.10.1 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.




Home | Main Index | Thread Index | Old Index