[Bug 205003] ports-mgmt/pkg: pkg segfault if extra colon is in the url in repository configuration files
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Dec 4 00:59:11 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205003
Bug ID: 205003
Summary: ports-mgmt/pkg: pkg segfault if extra colon is in the
url in repository configuration files
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: Individual Port(s)
Assignee: pkg at FreeBSD.org
Reporter: schen at enbala.com
Flags: maintainer-feedback?(pkg at FreeBSD.org)
Assignee: pkg at FreeBSD.org
Example 1:
Note the ":" after the port number 80
root# cat FreeBSD.conf
FreeBSD: {
url: "pkg+http://pkg.FreeBSD.org:80:/${ABI}/latest",
mirror_type: "srv",
signature_type: "fingerprints",
fingerprints: "/usr/share/keys/pkg",
enabled: yes
}
root# pkg update
Updating FreeBSD repository catalogue...
Repository FreeBSD has a wrong packagesite, need to re-create database
Child process pid=78442 terminated abnormally: Segmentation fault
Example 2:
Note the 2nd ":" after the domain name
root# cat FreeBSD.conf
FreeBSD: {
url: "pkg+http://pkg.FreeBSD.org::/${ABI}/latest",
mirror_type: "srv",
signature_type: "fingerprints",
fingerprints: "/usr/share/keys/pkg",
enabled: yes
}
root# pkg update
Updating FreeBSD repository catalogue...
Repository FreeBSD has a wrong packagesite, need to re-create database
Child process pid=78475 terminated abnormally: Segmentation fault
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-pkg
mailing list