Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when writing a zip container to a pipe #42

Closed
pmqs opened this issue Apr 11, 2022 · 1 comment
Closed

Error when writing a zip container to a pipe #42

pmqs opened this issue Apr 11, 2022 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@pmqs
Copy link
Owner

pmqs commented Apr 11, 2022

$ echo abc | perl -Mblib ./IO-Compress/bin/streamzip | cat > /tmp/xc.zip
Use of uninitialized value in concatenation (.) or string at /media/paul/Linux-Shared/base/perl/ext/Gzip/blib/lib/IO/Compress/Base.pm line 806.
Can't use an undefined value as an ARRAY reference at /media/paul/Linux-Shared/base/perl/ext/Gzip/blib/lib/IO/Compress/Zip.pm line 547.

$ xdump /tmp/xc.zip
00000000    50 4b 03 04 14 00 00 00 08 00 55 80 8b 54 00 00   PK........U..T..
00000010    00 00 00 00 00 00 00 00 00 00 01 00 00 00 2d 4b   ..............-K
00000020    4c 4a e6 02 00                                    LJ...

$ perl -Mblib -MIO::Compress::Zip -e 'print "$IO::Compress::Zip::VERSION\n"'
2.104
@pmqs pmqs added the bug Something isn't working label Apr 11, 2022
@pmqs pmqs self-assigned this Apr 11, 2022
@pmqs
Copy link
Owner Author

pmqs commented Apr 30, 2022

Issue fix.ed

@pmqs pmqs closed this as completed Apr 30, 2022
atoomic added a commit to atoomic/perl5 that referenced this issue Jul 20, 2022
From ChangeLog

  2.201 25 June 2022

      * Disable zib header tests
        Sat Jun 25 09:10:59 2022 +0100
        63eb5d37291b40dbf07d191a09b7876168008cd4

      * Version 2.201
        Sat Jun 25 09:00:42 2022 +0100
        af51310f68bb225d94eaa29b7f3d2bece1935dfd

      * doc update pmqs/IO-Compress#38
        Thu Jun 23 23:00:31 2022 +0100
        2002d4fd3b3a6f5de6c6c3dc5989cf42581c1758

      * Changes for zlib-ng
        Thu Jun 23 22:43:50 2022 +0100
        2bd52d2918823cc567c3e92dd3d15f87cb4ee8f8

      * Add perl 5.36
        Sun Jun 5 13:34:18 2022 +0100
        ede55370ed4c7eb3c66abc71bc25c7e4019b4c44

      * force streaming zip file when writing to stdout
      * pmqs/IO-Compress#42
        Sun Apr 24 19:43:19 2022 +0100
        b57a3f83f404f5a24242680de5b406cfcf5c03ac

      * read zip timestamp in localtime
        Sun Apr 24 13:11:58 2022 +0100
        0c838f43dc46f292714c82145c9add9932196b01

      * streamzip: tighten up version tests for failing windows tests
      * pmqs/IO-Compress#41
        Sun Apr 24 12:49:57 2022 +0100
        3497645228235ea12c4d559d6dedd4cef47fc94a

      * streamzip: update year
        Sun Apr 24 12:11:35 2022 +0100
        0ac0d1ef603d8854ffc35976196735b663764992

      * Use Time::Local instead of  POSIX::mktime
        Tue Apr 19 11:31:43 2022 +0100
        64a106f1119cbc7dec8db52dca016bb8baacf2d4
atoomic added a commit to Perl/perl5 that referenced this issue Jul 20, 2022
From ChangeLog

  2.201 25 June 2022

      * Disable zib header tests
        Sat Jun 25 09:10:59 2022 +0100
        63eb5d37291b40dbf07d191a09b7876168008cd4

      * Version 2.201
        Sat Jun 25 09:00:42 2022 +0100
        af51310f68bb225d94eaa29b7f3d2bece1935dfd

      * doc update pmqs/IO-Compress#38
        Thu Jun 23 23:00:31 2022 +0100
        2002d4fd3b3a6f5de6c6c3dc5989cf42581c1758

      * Changes for zlib-ng
        Thu Jun 23 22:43:50 2022 +0100
        2bd52d2918823cc567c3e92dd3d15f87cb4ee8f8

      * Add perl 5.36
        Sun Jun 5 13:34:18 2022 +0100
        ede55370ed4c7eb3c66abc71bc25c7e4019b4c44

      * force streaming zip file when writing to stdout
      * pmqs/IO-Compress#42
        Sun Apr 24 19:43:19 2022 +0100
        b57a3f83f404f5a24242680de5b406cfcf5c03ac

      * read zip timestamp in localtime
        Sun Apr 24 13:11:58 2022 +0100
        0c838f43dc46f292714c82145c9add9932196b01

      * streamzip: tighten up version tests for failing windows tests
      * pmqs/IO-Compress#41
        Sun Apr 24 12:49:57 2022 +0100
        3497645228235ea12c4d559d6dedd4cef47fc94a

      * streamzip: update year
        Sun Apr 24 12:11:35 2022 +0100
        0ac0d1ef603d8854ffc35976196735b663764992

      * Use Time::Local instead of  POSIX::mktime
        Tue Apr 19 11:31:43 2022 +0100
        64a106f1119cbc7dec8db52dca016bb8baacf2d4
scottchiefbaker pushed a commit to scottchiefbaker/perl5 that referenced this issue Nov 3, 2022
From ChangeLog

  2.201 25 June 2022

      * Disable zib header tests
        Sat Jun 25 09:10:59 2022 +0100
        63eb5d37291b40dbf07d191a09b7876168008cd4

      * Version 2.201
        Sat Jun 25 09:00:42 2022 +0100
        af51310f68bb225d94eaa29b7f3d2bece1935dfd

      * doc update pmqs/IO-Compress#38
        Thu Jun 23 23:00:31 2022 +0100
        2002d4fd3b3a6f5de6c6c3dc5989cf42581c1758

      * Changes for zlib-ng
        Thu Jun 23 22:43:50 2022 +0100
        2bd52d2918823cc567c3e92dd3d15f87cb4ee8f8

      * Add perl 5.36
        Sun Jun 5 13:34:18 2022 +0100
        ede55370ed4c7eb3c66abc71bc25c7e4019b4c44

      * force streaming zip file when writing to stdout
      * pmqs/IO-Compress#42
        Sun Apr 24 19:43:19 2022 +0100
        b57a3f83f404f5a24242680de5b406cfcf5c03ac

      * read zip timestamp in localtime
        Sun Apr 24 13:11:58 2022 +0100
        0c838f43dc46f292714c82145c9add9932196b01

      * streamzip: tighten up version tests for failing windows tests
      * pmqs/IO-Compress#41
        Sun Apr 24 12:49:57 2022 +0100
        3497645228235ea12c4d559d6dedd4cef47fc94a

      * streamzip: update year
        Sun Apr 24 12:11:35 2022 +0100
        0ac0d1ef603d8854ffc35976196735b663764992

      * Use Time::Local instead of  POSIX::mktime
        Tue Apr 19 11:31:43 2022 +0100
        64a106f1119cbc7dec8db52dca016bb8baacf2d4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant