From 9d8e077ca1f4402b608d1464794e390bc7fc5b81 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 24 Jul 2007 09:40:55 +0200 Subject: sort: avoid unaligned access. * src/sort.c (fillbuf): When enlarging the line buffer, ensure that the new size is a multiple of "sizeof (struct line)". This avoids alignment problems when indexing from the end of the buffer. Problem reported by Andreas Schwab in . --- ChangeLog | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 971581369..bc403ea6d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2007-07-23 Paul Eggert + + sort: avoid unaligned access. + * src/sort.c (fillbuf): When enlarging the line buffer, ensure that + the new size is a multiple of "sizeof (struct line)". This avoids + alignment problems when indexing from the end of the buffer. + Problem reported by Andreas Schwab in + . + 2007-07-23 Jim Meyering Update all copyright notices to use the newer form (e.g., remove -- cgit v1.2.3-70-g09d2