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

CVS: cvs.openbsd.org: src

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_)_