PR/59991 CVS commit: pkgsrc/pkgtools/pkg_install/files
"Benny Siegert" <[email protected]>
| Newsgroups | gmane.os.netbsd.devel.pkgsrc.bugs |
|---|---|
| Message-ID | <[email protected]> |
The following reply was made to PR pkg/59991; it has been noted by GNATS. From: "Benny Siegert" <[email protected]> To: [email protected] Cc: Subject: PR/59991 CVS commit: pkgsrc/pkgtools/pkg_install/files Date: Sat, 28 Feb 2026 09:49:35 +0000 Module Name: pkgsrc Committed By: bsiegert Date: Sat Feb 28 09:49:35 UTC 2026 Modified Files: pkgsrc/pkgtools/pkg_install/files/add: parse_cross.c pkgsrc/pkgtools/pkg_install/files/lib: version.h Log Message: pkg_install: fix null pointer dereference The pkg_add -m option crashes on null pointer dereference if the input has a slash but then no space. Patch by riastradh@ in PR pkg/59991. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 pkgsrc/pkgtools/pkg_install/files/add/parse_cross.c cvs rdiff -u -r1.201 -r1.202 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.