]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Disallow zero day of month from strptime("%d").
authorkib <kib@FreeBSD.org>
Mon, 8 Oct 2018 18:45:40 +0000 (18:45 +0000)
committerkib <kib@FreeBSD.org>
Mon, 8 Oct 2018 18:45:40 +0000 (18:45 +0000)
commitd5fe04e8d736359a48afb53ee8c440bc84a209d5
tree5c6b057bc8b0e4f4a9a28fafa22c6d26787dae6b
parent1bf3ea6b7d1c23e20f1a1a5e47ab9f3b21761802
Disallow zero day of month from strptime("%d").

It is required by POSIX, specified in our man page, and followed by
Linux.

PR: 232072
Reported by: miguel_tete17@hotmail.com
Sponsored by: The FreeBSD Foundation
Approved by: re (gjb)
MFC after: 1 week
lib/libc/stdtime/strptime.c