]> gitweb.ps.run Git - ps-cgit/commitdiff
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)
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>

No differences found