Thread (1 message) 1 message, 1 author, 2021-11-11

Re: [PATCH v2] receive-pack: not receive pack file with large object

From: Junio C Hamano <hidden>
Date: 2021-11-11 18:35:55

Possibly related (same subject, not in this thread)

Han Xin [off-list ref] writes:
quoted
@@ -2582,8 +2585,6 @@ int read_loose_object(const char *path,
char hdr[MAX_HEADER_LEN];
unsigned long *size = oi->sizep;

- *contents = NULL;
-
Deleting "*contents = NULL;" here will cause a memory free error.
Good find.  I see in the discussion downthread we have a band-aid
for this issue already ;-)

Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help