NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/46542 CVS commit: src/lib/libutil

The following reply was made to PR lib/46542; it has been noted by GNATS.

From: "Robert Elz" <>
Subject: PR/46542 CVS commit: src/lib/libutil
Date: Fri, 30 Oct 2020 22:03:11 +0000

 Module Name:	src
 Committed By:	kre
 Date:		Fri Oct 30 22:03:11 UTC 2020
 Modified Files:
 	src/lib/libutil: parsedate.y
 Log Message:
 PR lib/46542
 Add checks to detect overflow, and also detect other invalid
 (out of range) inputs for parsedate().
 There could be more, and some of what is being added is not
 perfect, but many calculation overflows will be detected now
 (and cause an error return) and some of the most bizarre
 inputs that were previously accepted no longer will be.
 To generate a diff of this commit:
 cvs rdiff -u -r1.35 -r1.36 src/lib/libutil/parsedate.y
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index