This patch fixes a crash when the index file is corrupted and we get an empty index entry list. Tests: unit (release) Fixes: 2532 Signed-off-by: Rafael Ávila de Espíndola <espindola@scylladb.com> Message-Id: <20190110202833.29333-1-espindola@scylladb.com>