pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/pkgtools/pkg_install/files
Module Name: pkgsrc
Committed By: joerg
Date: Wed Apr 22 19:18:07 UTC 2009
Modified Files:
pkgsrc/pkgtools/pkg_install/files/info: perform.c
pkgsrc/pkgtools/pkg_install/files/lib: pkg_signature.c version.h
Log Message:
pkg_install-20090422:
Consider EOF during signature scan a fatal error. At the very least, the
package is missing the +CONTENTS file at that point. Correctly reset the
entry pointer in that case and make the meta data extraction stricter,
avoiding NULL dereferences for invalid archives.
Fixes pkg_info -X crash on empty files as reported by Daniel Horecki.
To generate a diff of this commit:
cvs rdiff -u -r1.55 -r1.56 pkgsrc/pkgtools/pkg_install/files/info/perform.c
cvs rdiff -u -r1.7 -r1.8 \
pkgsrc/pkgtools/pkg_install/files/lib/pkg_signature.c
cvs rdiff -u -r1.122 -r1.123 pkgsrc/pkgtools/pkg_install/files/lib/version.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index