more fixes

This commit is contained in:
rsc 2007-04-21 20:49:30 +00:00
parent 946b8d7086
commit 6932098c9f
4 changed files with 6 additions and 11 deletions

View file

@ -1357,6 +1357,7 @@ guessarena(vlong offset0, int anum, ArenaHead *head, Arena *arena,
* (the same pattern gets written many times in a row)
* and should never happen during regular use.
*/
magic = 0;
if((n = isclump(p, &cl, &magic)) > 0){
/*
* If we were in the middle of some corrupted data,