Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 Dec 2015 00:59:10 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 205003] ports-mgmt/pkg: pkg segfault if extra colon is in the url in repository configuration files
Message-ID:  <bug-205003-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org
          Reporter: schen@enbala.com
             Flags: maintainer-feedback?(pkg@FreeBSD.org)
          Assignee: pkg@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-205003-13>