[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: Thu, 16 Oct 2003 16:08:48 -0600 (MDT)
CVSROOT: /cvs
Module name: src
Changes by: millert_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org 2003/10/16 16:08:48
Modified files:
bin/ksh : vi.c
Log message:
Buffers are not strings so use memcpy(), not strlcpy() to copy them.
Found by danh@ with JG malloc options. I've also added some further
bounds checks in the name of paranoia. Tested by danh and others.
Visit your host, monkey.org