To detect corruptions when opening the archive, the "offset", "uncompressedSize" and "compressedSize" values of the CDFH objects are checked against the total archive size.
Additionally, the sum of the sizes is checked against the total archive size.
In case of corruption, bad_data is thrown.
https://github.com/xrootd/xrootd/pull/1746
(1 file)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.
Use REPLY-ALL to reply to list
To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1