1
0
mirror of https://github.com/git/git.git synced 2025-04-17 02:15:19 +00:00
git/builtin
Jeff King 839de25272 config: copy the return value of prefix_filename
The prefix_filename function returns a pointer to a static
buffer which may be overwritten by subsequent calls. Since
we are going to keep the result around for a while, let's be
sure to duplicate it for safety.

I don't think this can be triggered as a bug in the current
code, but it's a good idea to be defensive, as any resulting
bug would be quite subtle.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2012-02-17 07:52:41 -08:00
..
2011-12-13 21:58:51 -08:00
2012-01-06 12:44:07 -08:00
2012-01-06 12:44:07 -08:00
2011-12-13 10:17:50 -08:00
2011-11-07 22:12:19 -08:00
2011-12-21 12:02:44 -08:00
2012-01-06 12:44:07 -08:00
2011-12-28 11:32:36 -08:00
2011-12-22 11:27:26 -08:00
2012-01-12 23:33:39 -08:00
2011-11-07 22:12:19 -08:00
2011-12-22 15:30:22 -08:00
2011-12-13 23:07:47 -08:00