[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: "Todd C. Miller" <millert_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org>
- Date: Sat, 14 May 2005 21:27:05 -0600 (MDT)
CVSROOT: /cvs
Module name: src
Changes by: millert_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org 2005/05/14 21:27:04
Modified files:
usr.bin/indent : io.c
Log message:
When checking for comment characters using negative pointer arithmetic
make sure that we don't peek at memory outside the string boundaries.
Fixes a core dump with mmap malloc.
Visit your host, monkey.org