Add error output in case of invalid compression ID
This commit is contained in:
@@ -1066,7 +1066,11 @@ ReaderImplBase::ReadCompressedBuffer(const SectionInfo& section)
|
|||||||
}
|
}
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
{
|
||||||
|
fErrorOutput->PrintError("Error: Invalid compression type: %u\n",
|
||||||
|
section.compression);
|
||||||
return B_BAD_DATA;
|
return B_BAD_DATA;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user