Print

Print


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.
You can view, comment on, or merge this pull request online at:

  https://github.com/xrootd/xrootd/pull/1746

-- Commit Summary --

  * Added a metadata check of the CDFHs to detect corruptions when opening

-- File Changes --

    M src/XrdCl/XrdClZipArchive.cc (13)

-- Patch Links --

https://github.com/xrootd/xrootd/pull/1746.patch
https://github.com/xrootd/xrootd/pull/1746.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/pull/1746
You are receiving this because you are subscribed to this thread.

Message ID: <[log in to unmask]>

########################################################################
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