]> granicus.if.org Git - neomutt/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)
commitfced49d82e1f444691363b4a5db1621e0904831d
tree6a6cefbaf849d156365d180cb0e35b20c6e620e8
parent9a1b17e566ab52b3e2cc430b531a5b2239093f09
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