CVSROOT: /cvs Module name: src Changes by: [email protected] 2022/01/08 04:07:51
Modified files:
usr.bin/less : line.c
Log message:
Fix possible use after free with long lines
Files with very long lines on machines with tight memory restrictions
can provoke a failing realloc in expand_linebuf. This error condition
was improperly handled, which could lead to a user after free bug by
using the already freed linebuf variable again.
with input by and okay guenther@
