[jira] Created: (COMPRESS-102) ZipArchiveOutputStream should write a signature for data descriptrs

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (COMPRESS-102) ZipArchiveOutputStream should write a signature for data descriptrs

Gary D. Gregory (Jira)
ZipArchiveOutputStream should write a signature for data descriptrs
-------------------------------------------------------------------

                 Key: COMPRESS-102
                 URL: https://issues.apache.org/jira/browse/COMPRESS-102
             Project: Commons Compress
          Issue Type: Improvement
    Affects Versions: 1.0
            Reporter: Stefan Bodewig
            Priority: Minor


from http://www.pkware.com/documents/casestudies/APPNOTE.TXT :

{quote}
      Although not originally assigned a signature, the value
      0x08074b50 has commonly been adopted as a signature value
      for the data descriptor record.  Implementers should be
      aware that ZIP files may be encountered with or without this
      signature marking data descriptors and should account for
      either case when reading ZIP files to ensure compatibility.
      When writing ZIP files, it is recommended to include the
      signature value marking the data descriptor record.  When
      the signature is used, the fields currently defined for
      the data descriptor record will immediately follow the
      signature.
{quote}

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (COMPRESS-102) ZipArchiveOutputStream should write a signature for data descriptors

Gary D. Gregory (Jira)

     [ https://issues.apache.org/jira/browse/COMPRESS-102?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefan Bodewig updated COMPRESS-102:
------------------------------------

    Summary: ZipArchiveOutputStream should write a signature for data descriptors  (was: ZipArchiveOutputStream should write a signature for data descriptrs)

> ZipArchiveOutputStream should write a signature for data descriptors
> --------------------------------------------------------------------
>
>                 Key: COMPRESS-102
>                 URL: https://issues.apache.org/jira/browse/COMPRESS-102
>             Project: Commons Compress
>          Issue Type: Improvement
>    Affects Versions: 1.0
>            Reporter: Stefan Bodewig
>            Priority: Minor
>
> from http://www.pkware.com/documents/casestudies/APPNOTE.TXT :
> {quote}
>       Although not originally assigned a signature, the value
>       0x08074b50 has commonly been adopted as a signature value
>       for the data descriptor record.  Implementers should be
>       aware that ZIP files may be encountered with or without this
>       signature marking data descriptors and should account for
>       either case when reading ZIP files to ensure compatibility.
>       When writing ZIP files, it is recommended to include the
>       signature value marking the data descriptor record.  When
>       the signature is used, the fields currently defined for
>       the data descriptor record will immediately follow the
>       signature.
> {quote}

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Resolved: (COMPRESS-102) ZipArchiveOutputStream should write a signature for data descriptors

Gary D. Gregory (Jira)
In reply to this post by Gary D. Gregory (Jira)

     [ https://issues.apache.org/jira/browse/COMPRESS-102?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefan Bodewig resolved COMPRESS-102.
-------------------------------------

       Resolution: Invalid
    Fix Version/s: 1.0

I misread the code, it already adds the signature.

> ZipArchiveOutputStream should write a signature for data descriptors
> --------------------------------------------------------------------
>
>                 Key: COMPRESS-102
>                 URL: https://issues.apache.org/jira/browse/COMPRESS-102
>             Project: Commons Compress
>          Issue Type: Improvement
>    Affects Versions: 1.0
>            Reporter: Stefan Bodewig
>            Priority: Minor
>             Fix For: 1.0
>
>
> from http://www.pkware.com/documents/casestudies/APPNOTE.TXT :
> {quote}
>       Although not originally assigned a signature, the value
>       0x08074b50 has commonly been adopted as a signature value
>       for the data descriptor record.  Implementers should be
>       aware that ZIP files may be encountered with or without this
>       signature marking data descriptors and should account for
>       either case when reading ZIP files to ensure compatibility.
>       When writing ZIP files, it is recommended to include the
>       signature value marking the data descriptor record.  When
>       the signature is used, the fields currently defined for
>       the data descriptor record will immediately follow the
>       signature.
> {quote}

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.