[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: Wed, 26 Jun 2002 00:03:31 -0600 (MDT)
CVSROOT: /cvs
Module name: src
Changes by: millert_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org 2002/06/26 00:03:31
Modified files:
lib/libc/net : Tag: OPENBSD_3_0 gethostnamadr.c getnetnamadr.c
Log message:
avoid remote buffer overrun on hostbuf[]. From: Joost Pol <joost_(_at_)_pine_(_dot_)_nl>
correct bad practice in the code - it uses two changing variables
to manage buffer (buf and buflen). we eliminate buflen and use
fixed point (ep) as the ending pointer. From: itojun
this fix is critical.
Visit your host, monkey.org