[BUG] remote curl fetches HTML documents

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I found a bug in the curl family of remote helpers. I've posted a
bugfix by assuming as little about the URL that libcurl accepts as
possible.

$ git remote-http foo
list
0000000000000000000000000000000000000000 html>
0000000000000000000000000000000000000000 <head>
0000000000000000000000000000000000000000 <title>OpenDNS</title>
0000000000000000000000000000000000000000 </head>
0000000000000000000000000000000000000000 </head>
0000000000000000000000000000000000000000 <body id="mainbody"
onLoad="testforbanner();" style="margin: 0px;">
<SNIP>

$ git remote-http foo
fetch 0000000000000000000000000000000000000000 html>

error: inflate: data stream error (incorrect header check)
error: File 0000000000000000000000000000000000000000
(foo/objects/00/00000000000000000000000000000000000000) corrupt
error: Unable to find 0000000000000000000000000000000000000000 under foo
Cannot obtain needed object 0000000000000000000000000000000000000000
error: Fetch failed.

-- Ram
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]