Subject: CVS commit: basesrc/usr.sbin/pkg_install/lib
To: None <source-changes@netbsd.org>
From: YAMAMOTO Takashi <yamt@netbsd.org>
List: source-changes
Date: 06/09/2002 06:50:14
Module Name: basesrc
Committed By: yamt
Date: Sun Jun 9 03:50:13 UTC 2002
Modified Files:
basesrc/usr.sbin/pkg_install/lib: file.c lib.h str.c
Log Message:
- fix buffer size checks
- define PKG_PATTEN_MAX and PKG_SUFFIX_MAX and
use them instead of constants like 255.
- add asserts and buffer size checks.
To generate a diff of this commit:
cvs rdiff -r1.48 -r1.49 basesrc/usr.sbin/pkg_install/lib/file.c
cvs rdiff -r1.38 -r1.39 basesrc/usr.sbin/pkg_install/lib/lib.h
cvs rdiff -r1.33 -r1.34 basesrc/usr.sbin/pkg_install/lib/str.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.