git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/1] http: Fix crash when passing malformed URL
@ 2016-03-16 10:54 Anton Wuerfel
  2016-03-16 10:54 ` [PATCH 1/1] " Anton Wuerfel
  2016-03-16 21:29 ` [PATCH 0/1] " Jeff King
  0 siblings, 2 replies; 4+ messages in thread
From: Anton Wuerfel @ 2016-03-16 10:54 UTC (permalink / raw)
  To: Junio C Hamano
  Cc: Anton Wuerfel, Phillip, "Raffeck <phillip.raffeck",
	i4passt, git

When passing a malformed URL to http_init() in http.c, git dies from a null
pointer dereference. An example for a malformed URL is http:/git-scm.com (note
the single slash after the protocol).

I could not reproduce this error within any functions of git - I just noticed it
during development of a git extension together with Phillip Raffeck.

Anton Wuerfel (1):
  http: Fix crash when passing malformed URL

 http.c | 3 +++
 1 file changed, 3 insertions(+)

-- 
2.8.0.rc1.108.g7827469

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-03-16 21:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-16 10:54 [PATCH 0/1] http: Fix crash when passing malformed URL Anton Wuerfel
2016-03-16 10:54 ` [PATCH 1/1] " Anton Wuerfel
2016-03-16 21:42   ` Jeff King
2016-03-16 21:29 ` [PATCH 0/1] " Jeff King

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).