Commit ea9e00cb5ca271b794cca686019d17cc378e23f2

Carlos Martín Nieto 2016-02-23T18:15:43

pack: make sure we don't go out of bounds for extended entries A corrupt index might have data that tells us to go look past the end of the file for data. Catch these cases and return an appropriate error message.