[PATCH] Use read_int in vfscanf
Gabriel F. T. Gomes
gftg@linux.vnet.ibm.com
Wed Oct 26 12:56:00 GMT 2016
On Thu, 6 Oct 2016 14:21:39 +0200
Florian Weimer <fweimer@redhat.com> wrote:
> On 09/23/2016 03:50 AM, Gabriel F. T. Gomes wrote:
>
> > + argpos = read_int ((const UCHAR_T **) &f);
>
> This is a const char * → const unsigned char * cast in the non-wide case
> (and okay), but in the wide case, it goes from const int * to const
> unsigned int *, which is not valid. This is a pre-existing issue in
> vfprintf.c, so I don't think it should block inclusion of this cleanup.
Thanks. Pushed as 726d48ec.
More information about the Libc-alpha
mailing list