From 5791c43f91e91018c8dfdd1666ef21d283dd3c4e Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 10 Sep 2005 13:56:56 +0000 Subject: [PATCH] *** empty log message *** --- ChangeLog | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 35917c4c86..5b2916dcfd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,20 @@ -2005-09-09 Paul Eggert +2005-09-10 Jim Meyering * Version 5.3.1-cvs. + csplit could produce corrupt output, given input lines longer than 8KB + + * src/csplit.c (load_buffer): Don't read from free'd memory + when handling lines longer than the initial buffer length. + (save_to_hold_area): Don't leak the previous hold_area buffer. + Reported by Tristan Miller and Luke Kendall. + * NEWS: Mention this. + + * src/csplit.c (load_buffer): Avoid integer overflow in buffer + size calculations for very long lines. + +2005-09-09 Paul Eggert + Support regular expressions in 64-bit code correctly, by importing the latest gnulib regexp code, and not assuming that sizes fit in 32 bits. -- 2.47.3