[patch] Fix for heap overflow in wscanf (BZ 16618)
H.J. Lu
hjl.tools@gmail.com
Sun Feb 1 21:36:00 GMT 2015
On Sun, Feb 1, 2015 at 12:52 PM, Paul Pluzhnikov <ppluzhnikov@google.com> wrote:
> Greetings,
>
> Attached patch is a rather obvious fix for BZ 16618.
> I believe this bug deserves a CVE (I've asked for one), and the fix
> should definitely go into 2.21.
>
> Tested on Linux/x86_64, no new failures.
>
> Thanks,
> --
>
>
> Paul Pluzhnikov
>
>
> 2015-02-01 Paul Pluzhnikov <ppluzhnikov@google.com>
>
> [BZ #16618]
> * stdio-common/vfscanf.c (ADDW): Correct alloca size check and
> fix heap buffer overflow.
Please include the testcase in BZ #16618.
--
H.J.
More information about the Libc-alpha
mailing list