From: Lars Wendler <polynomial-c@gentoo.org>
To: git@vger.kernel.org
Cc: "Robin H. Johnson" <robbat2@gentoo.org>, lekto@o2.pl
Subject: segfault in http.c when https URL is mistyped
Date: Wed, 7 Sep 2016 15:44:04 +0200 [thread overview]
Message-ID: <20160907154404.107fe6e6@abudhabi.paradoxon.rec> (raw)
In-Reply-To: <20160907151607.2b288034@abudhabi.paradoxon.rec>
[-- Attachment #1: Type: text/plain, Size: 761 bytes --]
Hi,
we at Gentoo got a bug report [1] about git-remote-https segfaulting
when the URL has been mistyped.
This seems to only be triggered when git was compiled with curl
support:
git clone https::/some.example-site.net/test.git
Observe the "https::/" instead of "https://". As soon as you run such a
command, syslog receives a message like:
kernel: git-remote-http[8766]: segfault at 0 ip 0000000000408abd sp
00007ffd70adf7c0 error 4 in git-remote-https[400000+103000]
Kind regards
Lars
[1] https://bugs.gentoo.org/592522
--
Lars Wendler
Gentoo package maintainer
GPG: 21CC CF02 4586 0A07 ED93 9F68 498F E765 960E 9B39
Attention! New gpg key! See
https://www.gentoofan.org/blog/index.php?/archives/9-New-gpg-keys.html
[-- Attachment #2: Digitale Signatur von OpenPGP --]
[-- Type: application/pgp-signature, Size: 801 bytes --]
next parent reply other threads:[~2016-09-07 13:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20160907151607.2b288034@abudhabi.paradoxon.rec>
2016-09-07 13:44 ` Lars Wendler [this message]
2016-09-07 20:06 ` segfault in http.c when https URL is mistyped Jeff King
2016-09-07 20:11 ` Jeff King
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160907154404.107fe6e6@abudhabi.paradoxon.rec \
--to=polynomial-c@gentoo.org \
--cc=git@vger.kernel.org \
--cc=lekto@o2.pl \
--cc=robbat2@gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).