From: Jim Meyering Date: Sat, 10 Sep 2005 13:56:56 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: CPPI-1_12~20 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5791c43f91e91018c8dfdd1666ef21d283dd3c4e;p=thirdparty%2Fcoreutils.git *** empty log message *** --- 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.