summaryrefslogtreecommitdiff
path: root/decorate.c
diff options
context:
space:
mode:
authorPierre Habouzit <madcoder@debian.org>2007-12-18 01:39:57 (GMT)
committerJunio C Hamano <gitster@pobox.com>2007-12-18 05:59:26 (GMT)
commitf9c5a80cdf2265f2df7712fad9f1fb7ef68b4768 (patch)
tree051fb0c0dff4371f97f8ad9407f9f1fd335b1682 /decorate.c
parentbd8ff616c998da8b08bd59b47644408048b3016d (diff)
downloadgit-f9c5a80cdf2265f2df7712fad9f1fb7ef68b4768.zip
git-f9c5a80cdf2265f2df7712fad9f1fb7ef68b4768.tar.gz
git-f9c5a80cdf2265f2df7712fad9f1fb7ef68b4768.tar.bz2
Fix segfault in diff-delta.c when FLEX_ARRAY is 1
aka don't do pointer arithmetics on structs that have a FLEX_ARRAY member, or you'll end up believing your array is 1 cell off its real address. Signed-off-by: Pierre Habouzit <madcoder@debian.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'decorate.c')
0 files changed, 0 insertions, 0 deletions