Thread (2 messages) flat view 2 messages, 2 authors, 2016-06-15

http-fetch segfault fix?

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:28

Pavel Roskin [off-list ref] writes:
It's a different backtrace this time.  abort_object_request() has this code:

if (obj_req->slot) {
     release_active_slot(obj_req->slot);
     obj_req->slot = NULL;
}

Apparently just because obj_req->slot is not NULL doesn't mean it's a
valid pointer.  I'm going to use Valgrind now.
Nick's one-liner to explicitly initialize newreq->slot to NULL
looks obviously correct to me.  Does it fix this problem for
you?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help