Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH] sha1_file: don't malloc the whole compressed result when writing out objects

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:48:19

Nicolas Pitre [off-list ref] writes:
And what real life case would trigger this?  Given the size of the 
window for this to happen, what are your chances?
Of course the odds for me to be struck by lightning also exist.  And if 
I work really really hard at it then I might be able to trigger that 
pathological case above even before the next thunderstorm.  But in 
practice I'm hardly concerned by either of those possibilities.
The real life case for any of this triggers for me is zero, as I won't be
mistreating git as a continuous & asynchronous back-up tool.

But then that would make the whole discussion moot.  There are people who
file "bug reports" with an artificial reproduction recipe built around a
loop that runs dd continuously overwriting a file while "git add" is asked
to add it.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help