Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sun, 20 Sep 2015 12:36:29 -0400
From: Rich Felker <dalias@...c.org>
To: musl@...ts.openwall.com
Subject: Re: out of range struct tm fields in strftime

On Sun, Sep 20, 2015 at 02:44:50PM +0200, Szabolcs Nagy wrote:
> out of range tm fields should not be treated as ub
> as noted in the thread
> http://sourceware.org/ml/libc-alpha/2015-09/msg00546.html
> 
> i have a patch but there might be simpler approaches

Wouldn't it be less invasive to just make some small changes like
putting a U on some of the constants so that the arithmetic happens as
unsigned?

Rich

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.