base64: fix off-by-one buffer size bug
[pspp] / ChangeLog
index 455a699d74fdd6b648d59947972f84f0e3f15621..2ed4429cbc9445de54e1dc9d45e2608dfa5f50f0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,29 @@
+2011-08-10  Paul Eggert  <eggert@cs.ucla.edu>
+
+       base64: fix off-by-one buffer size bug
+       Problem and (trivial) fix reported by Gijs van Tulder in
+       <http://lists.gnu.org/archive/html/bug-gnulib/2011-08/msg00083.html>.
+       * lib/base64.c (base64_decode_alloc_ctx): Allocate one more byte.
+       * tests/test-base64.c (main): Catch the bug.
+
+2011-08-10  Eric Blake  <eblake@redhat.com>
+
+       closein: correct comments
+       * lib/closein.c (close_stdin): Improve comments.
+
+2011-08-09  Bruno Haible  <bruno@clisp.org>
+
+       More tests for 'fseeko'.
+       * tests/test-fseeko3.c: New file, from Eric Blake.
+       * tests/test-fseeko3.sh: New file.
+       * modules/fseeko-tests (Files): Add them.
+       (TESTS): Add test-fseeko3.sh.
+       (check_PROGRAMS): Add test-fseeko3.
+
 2011-08-09  Eric Blake  <eblake@redhat.com>
 
        fseeko: remove unneeded hack
-       * tests/test-fflush2.c (main): Don't special-case SEEK_END.
+       * lib/fseeko.c (fseeko): Don't special-case SEEK_END.
 
        fseeko: fix bug on glibc
        * lib/fseeko.c (fseeko): Set stream offset to match fd offset.