[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: Otto Moerbeek <otto_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org>
- Date: Mon, 21 Apr 2008 06:28:35 -0600 (MDT)
CVSROOT: /cvs
Module name: src
Changes by: otto_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org 2008/04/21 06:28:35
Modified files:
lib/libc/stdio : fdopen.c fopen.c freopen.c
Log message:
_file is only a short, so prevent truncation if we happen to hit
upon a fd > SHRT_MAX. From freebsd via Jan Schaumann; ok deraadt@
millert@ espie@
Visit your host, monkey.org