]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
strptime: disallow zero hour for %I (defined by POSIX as [01,12]) and %l
authorYuri Pankov <yuripv@FreeBSD.org>
Sat, 13 Oct 2018 16:25:28 +0000 (16:25 +0000)
committerYuri Pankov <yuripv@FreeBSD.org>
Sat, 13 Oct 2018 16:25:28 +0000 (16:25 +0000)
commitcbc0062992a838851afb1bb6cc67f32a2517b83d
tree3308f8c4cbf304a14dd5c88b3aa58d80b5749737
parent84cf7c1df73c161d9e2fc752bd0d9959b0c31da2
strptime: disallow zero hour for %I (defined by POSIX as [01,12]) and %l
(extension, defined in strftime(3) as 1-12).

Approved by: re (gjb), kib (mentor)
Differential Revision: https://reviews.freebsd.org/D17543
lib/libc/stdtime/strptime.c