Re: memchr and valgrind

2009-06-15 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Eric Blake on 6/15/2009 11:42 AM: > With the recent clarification on memchr behavior, it is conceivable that we > could trip false positives under valgrind when using memchr to find the > location of a known byte with an overestimated le

memchr and valgrind

2009-06-15 Thread Eric Blake
With the recent clarification on memchr behavior, it is conceivable that we could trip false positives under valgrind when using memchr to find the location of a known byte with an overestimated length (most frequently when searching for a NUL). Any objections to applying this patch? From: Er