diff options
author | Brian Harring <ferringb@gmail.com> | 2011-08-23 22:47:17 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-08-24 10:50:33 -0700 |
commit | 2a74532412b9d87d4ad96dacbe9a31ff85f80af5 (patch) | |
tree | 26724af483011f1332dc399e031ed4d554325de8 /grep.c | |
parent | helping smart-http/stateless-rpc fetch race (diff) | |
download | tgif-2a74532412b9d87d4ad96dacbe9a31ff85f80af5.tar.xz |
get_indexed_object can return NULL if nothing is in that slot; check for it
This fixes a segfault introduced by 051e400; via it, no longer able to
trigger the http/smartserv race.
Signed-off-by: Brian Harring <ferringb@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'grep.c')
0 files changed, 0 insertions, 0 deletions