]> git.cameronkatri.com Git - cgit.git/commit
ui-patch: fix crash when using path limit
authorLukas Fleischer <lfleischer@lfos.de>
Thu, 24 Nov 2016 19:14:54 +0000 (20:14 +0100)
committerJason A. Donenfeld <Jason@zx2c4.com>
Mon, 23 Jan 2017 17:36:04 +0000 (18:36 +0100)
commitbe39d22328f841536b8e44e8aaeed80a74ebb353
treefb4e4cef05b2a4db7bdb2ebfc058fc2f6dd79454
parent5564a5d06678b3f9b0725bc4b2383ea1b7eb5515
ui-patch: fix crash when using path limit

The array passed to setup_revisions() must be NULL-terminated. Fixes a
regression introduced in 455b598 (ui-patch.c: Use log_tree_commit() to
generate diffs, 2013-08-20).

Reported-by: Florian Pritz <bluewind@xinu.at>
Signed-off-by: Lukas Fleischer <lfleischer@lfos.de>
ui-patch.c