summaryrefslogtreecommitdiff
path: root/Documentation/RelNotes/1.7.3.5.txt
diff options
context:
space:
mode:
authorLibravatar Romain Francoise <romain@orebokech.com>2012-10-28 00:49:55 +0200
committerLibravatar Jeff King <peff@peff.net>2012-10-28 07:50:18 -0400
commit3174bc5ccfea34717a8dac2175c1951239a4985d (patch)
tree401f10be8b7f4bf84dc9ed7c46774fb4f0fbd650 /Documentation/RelNotes/1.7.3.5.txt
parentGit 1.7.12.4 (diff)
downloadtgif-3174bc5ccfea34717a8dac2175c1951239a4985d.tar.xz
mailmap: avoid out-of-bounds memory access
AddressSanitizer (http://clang.llvm.org/docs/AddressSanitizer.html) complains of a one-byte buffer underflow in parse_name_and_email() while running the test suite. And indeed, if one of the lines in the mailmap begins with '<', we dereference the address just before the beginning of the buffer when looking for whitespace to remove, before checking that we aren't going too far. So reverse the order of the tests to make sure that we don't read outside the buffer. Signed-off-by: Romain Francoise <romain@orebokech.com> Signed-off-by: Jeff King <peff@peff.net>
Diffstat (limited to 'Documentation/RelNotes/1.7.3.5.txt')
0 files changed, 0 insertions, 0 deletions