diff options
author | Jeff King <peff@peff.net> | 2015-09-24 17:06:51 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-09-25 10:18:18 -0700 |
commit | 19bdd3e7e160a0b000c15d8bf6d33f4149e3f911 (patch) | |
tree | 4afb39180ae8a79401ffd02774d6b9523c156168 /gitweb/INSTALL | |
parent | compat/hstrerror: convert sprintf to snprintf (diff) | |
download | tgif-19bdd3e7e160a0b000c15d8bf6d33f4149e3f911.tar.xz |
grep: use xsnprintf to format failure message
This looks at first glance like the sprintf can overflow our
buffer, but it's actually fine; the p->origin string is
something constant and small, like "command line" or "-e
option".
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'gitweb/INSTALL')
0 files changed, 0 insertions, 0 deletions