FreeBSD Bugzilla – Attachment 86862 Details for
Bug 123369
devel/git crashes with use-after-free in git-fetch
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
patch-builtin-fetch.c
patch-builtin-fetch.c (text/x-patch), 780 bytes, created by
Coleman Kane
on 2008-05-08 12:46:56 UTC
(
hide
)
Description:
patch-builtin-fetch.c
Filename:
MIME Type:
Creator:
Coleman Kane
Created:
2008-05-08 12:46:56 UTC
Size:
780 bytes
patch
obsolete
>--- builtin-fetch.c >+++ builtin-fetch.c >@@ -577,8 +577,6 @@ static int do_fetch(struct transport *transport, > free_refs(ref_map); > } > >- transport_disconnect(transport); >- > return 0; > } > >@@ -599,6 +597,7 @@ int cmd_fetch(int argc, const char **argv, const char *prefix) > int i; > static const char **refs = NULL; > int ref_nr = 0; >+ int exit_code; > > /* Record the command line for the reflog */ > strbuf_addstr(&default_rla, "fetch"); >@@ -652,6 +651,9 @@ int cmd_fetch(int argc, const char **argv, const char *prefix) > > signal(SIGINT, unlock_pack_on_signal); > atexit(unlock_pack); >- return do_fetch(transport, >+ exit_code = do_fetch(transport, > parse_fetch_refspec(ref_nr, refs), ref_nr); >+ transport_disconnect(transport); >+ transport = NULL; >+ return exit_code; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 123369
: 86862