Avoid a used-uninitialized bug for invalid input, i.e., when the size
commitab58de37e6e01b22acc49f72b109b6e910f5190a
authorJim Meyering <jim@meyering.net>
Fri, 5 Jan 2007 11:30:51 +0000 (5 12:30 +0100)
committerJim Meyering <jim@meyering.net>
Fri, 5 Jan 2007 11:30:51 +0000 (5 12:30 +0100)
treec7486de6fb43e4bc9c742fafed1679839000db19
parent4082e3be7cf8c17bf7d8e086798b5f78ba7ea45f
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
gl/lib/base64.c