This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Couple of fixes for when int is 16-bits


On Nov 11 19:37, Jon Beniston wrote:
> Hi,
> 
> Attached is a patches to fix a couple of overflows when ints are 16-bits.
> 
> 2014-11-11  Jon Beniston  <...>
> 
> 	* libc/stdlib/strtod.c (sulp): Cast to int32_t to avoid overflow.
> 	* libc/time/gmtime_r.c (DAYS_PER_*_YEARS): Convert to long constants
> to avoid overflow.

Patch applied.


Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
Red Hat

Attachment: pgpUWjRBXSaCm.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]