projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
08c1176
)
base64: fix off-by-one buffer size bug
author
Paul Eggert
<eggert@cs.ucla.edu>
Wed, 10 Aug 2011 19:36:13 +0000
(12:36 -0700)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Wed, 10 Aug 2011 19:36:31 +0000
(12:36 -0700)
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.
No differences found