From: Junio C Hamano Date: Fri, 11 Dec 2015 18:41:01 +0000 (-0800) Subject: Merge branch 'sn/null-pointer-arith-in-mark-tree-uninteresting' X-Git-Tag: v2.7.0-rc1~8 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/782ca8c44e176e8a00c2c824a98dbe6274167639 Merge branch 'sn/null-pointer-arith-in-mark-tree-uninteresting' mark_tree_uninteresting() has code to handle the case where it gets passed a NULL pointer in its 'tree' parameter, but the function had 'object = &tree->object' assignment before checking if tree is NULL. This gives a compiler an excuse to declare that tree will never be NULL and apply a wrong optimization. Avoid it. * sn/null-pointer-arith-in-mark-tree-uninteresting: revision.c: fix possible null pointer arithmetic --- 782ca8c44e176e8a00c2c824a98dbe6274167639