misc/186822: pkg bootstrap code fails when connecting to a server that provides a chunked response
Tom Prince
tom.prince at hybridcluster.com
Sun Feb 16 18:40:01 UTC 2014
>Number: 186822
>Category: misc
>Synopsis: pkg bootstrap code fails when connecting to a server that provides a chunked response
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun Feb 16 18:40:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Tom Prince
>Release:
>Organization:
HybridLogic
>Environment:
>Description:
If the provided PACKAGESITE is a server that provides a chunked response for /Latest/pkg.txz then the bootstrap code will ignore the response body and then fail to extract pkg-static from the empty archive.
(st.size is -1 with chunked so
236 while (done < st.size) {
is always false)
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list