CVSROOT: /cvs Module name: src Changes by: [email protected] 2026/11/07 03:41:19
Modified files:
usr.bin/patch : inp.c
Log message:
pass an explicit size to rev_in_string
In "plan a" the file is a mmap(2)'ed region which might not end with a
NUL character: rev_in_string() could then go reading out of bounds.
reported by acts1631
looks reasonable to millert@, okay kirill@
