tags 553507 + upstream fixed-upstream
thanks

Hi,

Samium Gromoff wrote:

> Package: git-core
> Version: 1:1.6.5-1
> Severity: important
>
> Basically,
>
> deepf...@auriga:/$ git peek-remote 
> http://common-lisp.net/project/qitab/git/poiu.git 
> Segmentation fault
> deepf...@auriga:/$ git peek-remote http://www.lichteblau.com/git/atdoc.git 
> Segmentation fault

Yep, confirmed with v1.6.5.2.  'git ls-remote' segfaults when trying to
access an HTTP repository outside a git directory.

Getting remote refs requires calling transport->get_helper(), which
expects to be able to read transport->remote->name to pass it to
remote-curl.  But remote is null if nongit.  It looks like this is
fixed upstream by a combination of commit c1d45cf (Require a struct
remote in transport_get(), 2009-11-03) and commit a45d3d7 (Allow curl
helper to work without a local repository, 2009-11-03).

So the next point release should cure this.  Thanks, Daniel.

Jonathan



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to