This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v2][BZ #14286] Fix integer overflow in vfwprintf.
- From: OndÅej BÃlka <neleai at seznam dot cz>
- To: Andreas Schwab <schwab at suse dot de>
- Cc: libc-alpha at sourceware dot org
- Date: Thu, 28 Nov 2013 15:56:24 +0100
- Subject: Re: [PATCH v2][BZ #14286] Fix integer overflow in vfwprintf.
- Authentication-results: sourceware.org; auth=none
- References: <20131021082701 dot GA22363 at domone dot podge> <mvmsivv805x dot fsf at hawking dot suse dot de> <20131021093837 dot GA23041 at domone dot podge> <mvmr4a0bmxh dot fsf at hawking dot suse dot de>
On Thu, Nov 28, 2013 at 03:50:18PM +0100, Andreas Schwab wrote:
> OndÅej BÃlka <neleai@seznam.cz> writes:
>
> > ok, but errno handling confused me. I copied that from case when malloc
> > fails that if I read code correctly does not set ENOMEM. Should we add
> > additional errnos there?
>
> malloc already sets errno on failure.
>
yes, I know that now. I asked if we could proceed with rest of patch.