Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Tue, 21 Mar 2017 12:38:11 -0400
From: Rich Felker <>
Subject: Re: [PATCH] strptime fixes

On Sat, Mar 18, 2017 at 05:10:28PM +0100, Julien Ramseier wrote:
> I found several bugs in strptime:
> 1. tm_yday is off by one with %j (tm_yday range is 0-365 while %j is 1-366).
> 2. string pointer is not incremented when processing %p format.
> 3. calling strptime(..., "%C", tm), where tm->tm_year != 0, will result in a
>    wrong value stored in tm_year.

These all look fine, committing.


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.