Fix an off-by-one in reorder_elements
commit122faba16e11290341c14a72333111810c75662b
authorPetr Tesarik <petr@tesarici.cz>
Wed, 3 Oct 2012 09:27:34 +0000 (3 11:27 +0200)
committerPetr Tesarik <petr@tesarici.cz>
Wed, 3 Oct 2012 09:27:34 +0000 (3 11:27 +0200)
tree4a35d3e8a8c96c6a6c88ae21433c57aa8a780f57
parentebf7e30e671ef788c76f2eda7456631eb59751d6
Fix an off-by-one in reorder_elements

An element that has index equal to the start of the hi portion is
in fact used. This could have lead to adding the item to the pool
section, overwriting in-use data by a reordered element.
libhed/cache.c