Fix SEGV in searches over virtual blocks
commit6d406ae818669f9bc87ac8f2f48d47f174f95970
authorPetr Tesarik <petr@tesarici.cz>
Mon, 22 Oct 2012 22:54:06 +0000 (23 00:54 +0200)
committerPetr Tesarik <petr@tesarici.cz>
Mon, 22 Oct 2012 22:54:06 +0000 (23 00:54 +0200)
treed338a6ee92889fdfd924d4d46b45332d983b5244
parent093800152300ea577ee744bcede5b65c4882f651
Fix SEGV in searches over virtual blocks

It turns out, there can be virtual blocks in the middle of the file
if you extend the file size by modifying or inserting bytes in the
middle of the terminal block.

This partly reverts f813a4f5e854e29a73d371ee1950e134ddd3e130.
libhed/file.c