Рекурсивная загрузка зависимостей Red Hat в Ubuntu

Я уверен, что вам больше не нужен ответ, но для будущих читателей. 64 дополнительных поля блока должны появляться только при необходимости, в соответствии со спецификацией :

.
   4.5.3 -Zip64 Extended Information Extra Field (0x0001):

      The following is the layout of the zip64 extended 
      information "extra" block. If one of the size or
      offset fields in the Local or Central directory
      record is too small to hold the required data,
      a Zip64 extended information record is created.
      The order of the fields in the zip64 extended 
      information record is fixed, but the fields MUST
      only appear if the corresponding Local or Central
      directory record field is set to 0xFFFF or 0xFFFFFFFF.

      Note: all fields stored in Intel low-byte/high-byte order.

        Value      Size       Description
        -----      ----       -----------
(ZIP64) 0x0001     2 bytes    Tag for this "extra" block type
        Size       2 bytes    Size of this "extra" block
        Original 
        Size       8 bytes    Original uncompressed file size
        Compressed
        Size       8 bytes    Size of compressed data
        Relative Header
        Offset     8 bytes    Offset of local header record
        Disk Start
        Number     4 bytes    Number of the disk on which
                              this file starts 

Таким образом, в дополнительном блоке 64 должны отображаться только те, которые помечены как 0xFFFF или 0xFFFFFFFF в записи локального/центрального каталога.

В случае, когда вы упомянули остальные поля (несжатый, сжатый и диск )должны быть правильно проинформированы и считаны из локального/центрального.

0
13.09.2021, 13:50
0 ответов

Теги

Похожие вопросы