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-01 11:46:09 -08:00
2011-12-21 11:42:45 -08:00
2011-11-15 15:39:33 -08:00
2011-12-13 21:58:51 -08:00
2011-12-28 11:32:33 -08:00
2011-09-19 11:07:21 -07:00
2011-10-17 21:37:14 -07:00
2011-10-05 13:45:30 -07:00
2011-12-28 11:44:54 -08:00
2011-12-21 11:26:30 -08:00
2012-01-06 12:44:07 -08:00
2012-01-06 12:44:07 -08:00
2012-02-17 07:52:41 -08:00
2011-09-23 14:28:17 -07:00
2011-12-17 18:21:37 -08:00
2011-12-21 10:19:04 -08:00
2011-12-13 10:17:50 -08:00
2012-01-03 16:13:14 -08:00
2011-12-13 09:26:52 -08:00
2011-12-13 09:26:52 -08:00
2011-12-13 09:39:46 -08:00
2011-11-07 22:12:19 -08:00
2011-12-16 15:47:25 -08:00
2011-12-21 10:21:04 -08:00
2011-12-20 16:02:08 -08:00
2011-12-21 12:02:44 -08:00
2011-10-10 15:56:17 -07:00
2011-10-05 12:36:26 -07:00
2012-01-06 12:44:07 -08:00
2011-11-10 09:10:51 -08:00
2011-12-28 11:32:36 -08:00
2011-12-13 21:12:34 -08:00
2011-12-22 11:27:26 -08:00
2012-01-12 23:33:39 -08:00
2011-09-22 09:35:07 -07:00
2011-11-07 22:12:19 -08:00
2012-01-09 15:58:43 -08:00
2011-11-07 22:12:19 -08:00
2011-12-13 09:39:46 -08:00
2011-11-13 12:21:06 -08:00
2011-12-06 15:13:39 -08:00
2011-12-22 15:30:22 -08:00
2011-12-13 10:08:24 -08:00
2011-12-13 09:39:46 -08:00
2011-11-13 12:21:06 -08:00
2011-12-12 16:48:54 -08:00
2011-12-13 09:39:46 -08:00
2011-12-13 23:07:47 -08:00
2011-11-21 14:32:40 -08:00
2011-11-04 21:40:25 -07:00