]> granicus.if.org Git - mutt/commit
resort_index will use menu->current as a index into an array.
authorErik Hovland <erik@hovland.org>
Thu, 12 Mar 2009 22:16:45 +0000 (15:16 -0700)
committerErik Hovland <erik@hovland.org>
Thu, 12 Mar 2009 22:16:45 +0000 (15:16 -0700)
commita75ec3be4242f8b84890b703e5b1c2160f57a3cc
tree6a6cefbaf849d156365d180cb0e35b20c6e620e8
parent6fbe6b751da63f8c745269f2d7b195d97093e920
resort_index will use menu->current as a index into an array.
If menu->current is negative, bad things can happen. So check
it before calling resort_index
curs_main.c