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

CVS: cvs.openbsd.org: src



CVSROOT:	/cvs
Module name:	src
Changes by:	kjell_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org	2006/05/03 15:15:59

Modified files:
	usr.bin/mg     : fileio.c 

Log message:
len = strlen(foo); if foo[len - 1]... will do bad things if len == 0.
Avoid, and rearrange a test so it can't (hypothetically) overflow.



Visit your host, monkey.org