From ab58de37e6e01b22acc49f72b109b6e910f5190a Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 5 Jan 2007 12:30:51 +0100 Subject: Avoid a used-uninitialized bug for invalid input, i.e., when the size of the input, not counting newlines, is 1 % 4. * gl/lib/base64.c (base64_decode): Don't hard-code inlen==4. It may be smaller when flushing. --- ChangeLog | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 14ab6512d..9c4eb97f2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2007-01-05 Jim Meyering + + Avoid a used-uninitialized bug for invalid input, i.e., when the size + of the input, not counting newlines, is 1 % 4. + * gl/lib/base64.c (base64_decode): Don't hard-code inlen==4. + It may be smaller when flushing. + 2007-01-05 Mike Frysinger * src/dircolors.hin: Add a TERM directive for cons25. -- cgit v1.2.3-70-g09d2