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

Re: [PATCH] t9302: Protect against OS X normalization

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

Jeff King [off-list ref] writes:
On Mon, Feb 08, 2010 at 10:53:49PM -0800, Junio C Hamano wrote:
quoted
I think there is no reliable reproduction recipe for this, as we don't
control what garbage is in the tail of malloc'ed memory; valgrind would
have found it, though.

Let's revert the test part of the patch.
IMHO, valgrind finding it is reason enough to keep it. We do run the
test suite against valgrind from time to time, and clearly this code
path was not being exercised prior to this (or my previous valgrind runs
would have caught it).

I think Brian's patch is the best thing to do.
Having Brian's patch would not hurt, and it definitely is an improvement
than using a name OSX cannot cope with, so I'll apply it nevertheless.

FWIW, neither the updated test nor your French test does not trigger for
me after reverting the "quote.c" part from 8424981 without valgrind.

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