[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS: cvs.openbsd.org: src
- To: source-changes_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org
- Subject: CVS: cvs.openbsd.org: src
- From: Ray Lai <ray_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org>
- Date: Mon, 29 Jan 2007 20:57:29 -0700 (MST)
CVSROOT: /cvs
Module name: src
Changes by: ray_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org 2007/01/29 20:57:29
Modified files:
lib/libc/stdio : vfprintf.c
Log message:
Remove and simplify an impossible case (if *p = memchr(cp, 0, prec),
p - cp cannot be greater than prec).
Prevent an integer overflow when printing a string with length
greater than INT_MAX.
Initial diff from millert_(_at_)__(_dot_)_
OK millert@, beck@, and otto_(_at_)__(_dot_)_
Visit your host, monkey.org