r71576 - in /trunk/libcompress-raw-bzip2-perl: ./ bzip2-src/ debian/ lib/Compress/Raw/ pod/ t/
gregoa at users.alioth.debian.org
gregoa at users.alioth.debian.org
Thu Mar 17 20:40:15 UTC 2011
Author: gregoa
Date: Thu Mar 17 20:39:59 2011
New Revision: 71576
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=71576
Log:
New upstream release (closes: #577989).
Modified:
trunk/libcompress-raw-bzip2-perl/Changes
trunk/libcompress-raw-bzip2-perl/META.yml
trunk/libcompress-raw-bzip2-perl/README
trunk/libcompress-raw-bzip2-perl/bzip2-src/LICENSE
trunk/libcompress-raw-bzip2-perl/bzip2-src/blocksort.c
trunk/libcompress-raw-bzip2-perl/bzip2-src/bzlib.c
trunk/libcompress-raw-bzip2-perl/bzip2-src/bzlib.h
trunk/libcompress-raw-bzip2-perl/bzip2-src/bzlib_private.h
trunk/libcompress-raw-bzip2-perl/bzip2-src/compress.c
trunk/libcompress-raw-bzip2-perl/bzip2-src/crctable.c
trunk/libcompress-raw-bzip2-perl/bzip2-src/decompress.c
trunk/libcompress-raw-bzip2-perl/bzip2-src/huffman.c
trunk/libcompress-raw-bzip2-perl/bzip2-src/randtable.c
trunk/libcompress-raw-bzip2-perl/debian/changelog
trunk/libcompress-raw-bzip2-perl/lib/Compress/Raw/Bzip2.pm
trunk/libcompress-raw-bzip2-perl/pod/FAQ.pod
trunk/libcompress-raw-bzip2-perl/t/000prereq.t
Modified: trunk/libcompress-raw-bzip2-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcompress-raw-bzip2-perl/Changes?rev=71576&op=diff
==============================================================================
--- trunk/libcompress-raw-bzip2-perl/Changes (original)
+++ trunk/libcompress-raw-bzip2-perl/Changes Thu Mar 17 20:39:59 2011
@@ -1,12 +1,45 @@
CHANGES
-------
+
+ 2.033 11 Jan 2011
+ * Fixed typos & spelling errors.
+ [perl# 81782]
+
+ 2.032 4 Jan 2011
+
+ * No Changes
+
+ 2.031 21 September 2010
+
+ * Updated to use bzip2 1.0.6
+ Version 1.0.6 removes a potential security vulnerability,
+ CVE-2010-0405, so all users are recommended to upgrade immediately.
+
+ 2.030 22 July 2010
+
+ * No Changes
+
+ 2.027 24 April 2010
+
+ * No Changes
+
+ 2.026 7 April 2010
+
+ * No Changes
+
+ 2.025 27 March 2010
+
+ * Documented the unused "verbosity" option in
+ Compress::Raw::Bunzip2::new
+ [RT# 54425]
+
2.023 9 November 2009
* Removed redundant bzip2 source files from the bzip2-src directory.
[RT# 47225]
* Fixed instance where $[ should have been $] in t/01bzip2.t
- Thanks to Robin Barker and zefram [RT #50764] for independantly
+ Thanks to Robin Barker and zefram [RT #50764] for independently
spotting the issue.
2.021 30 August 2009
Modified: trunk/libcompress-raw-bzip2-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcompress-raw-bzip2-perl/META.yml?rev=71576&op=diff
==============================================================================
--- trunk/libcompress-raw-bzip2-perl/META.yml (original)
+++ trunk/libcompress-raw-bzip2-perl/META.yml Thu Mar 17 20:39:59 2011
@@ -1,6 +1,6 @@
--- #YAML:1.0
name: Compress-Raw-Bzip2
-version: 2.024
+version: 2.033
abstract: Low-Level Interface to bzip2 compression library
author:
- Paul Marquess <pmqs at cpan.org>
Modified: trunk/libcompress-raw-bzip2-perl/README
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcompress-raw-bzip2-perl/README?rev=71576&op=diff
==============================================================================
--- trunk/libcompress-raw-bzip2-perl/README (original)
+++ trunk/libcompress-raw-bzip2-perl/README Thu Mar 17 20:39:59 2011
@@ -1,17 +1,17 @@
Compress-Raw-Bzip2
- Version 2.024
+ Version 2.033
- 7th January 2010
+ 11th January 2011
- Copyright (c) 2005-2010 Paul Marquess. All rights reserved.
+ Copyright (c) 2005-2011 Paul Marquess. All rights reserved.
This program is free software; you can redistribute it
and/or modify it under the same terms as Perl itself.
The directory bzip2-src contains a subset of the
- source files copied directly from bzip2 version 1.0.5.
- These files are Copyright(C) 1996-2007 Julian Seward.
+ source files copied directly from bzip2 version 1.0.6.
+ These files are Copyright(C) 1996-2010 Julian Seward.
See the file bzip2-src/LICENSE for licence details for these files.
Full source for the bzip2 library is available at
http://www.bzip.org/
@@ -164,7 +164,7 @@
If you haven't installed Compress-Raw-Bzip2 then search Compress::Raw::Bzip2.pm
for a line like this:
- $VERSION = "2.024" ;
+ $VERSION = "2.033" ;
c. The version of bzip2 you have used.
If you have successfully installed Compress-Raw-Bzip2, this one-liner
Modified: trunk/libcompress-raw-bzip2-perl/bzip2-src/LICENSE
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcompress-raw-bzip2-perl/bzip2-src/LICENSE?rev=71576&op=diff
==============================================================================
--- trunk/libcompress-raw-bzip2-perl/bzip2-src/LICENSE (original)
+++ trunk/libcompress-raw-bzip2-perl/bzip2-src/LICENSE Thu Mar 17 20:39:59 2011
@@ -2,7 +2,7 @@
--------------------------------------------------------------------------
This program, "bzip2", the associated library "libbzip2", and all
-documentation, are copyright (C) 1996-2007 Julian R Seward. All
+documentation, are copyright (C) 1996-2010 Julian R Seward. All
rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -37,6 +37,6 @@
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Julian Seward, jseward at bzip.org
-bzip2/libbzip2 version 1.0.5 of 10 December 2007
+bzip2/libbzip2 version 1.0.6 of 6 September 2010
--------------------------------------------------------------------------
Modified: trunk/libcompress-raw-bzip2-perl/bzip2-src/blocksort.c
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcompress-raw-bzip2-perl/bzip2-src/blocksort.c?rev=71576&op=diff
==============================================================================
--- trunk/libcompress-raw-bzip2-perl/bzip2-src/blocksort.c (original)
+++ trunk/libcompress-raw-bzip2-perl/bzip2-src/blocksort.c Thu Mar 17 20:39:59 2011
@@ -8,8 +8,8 @@
This file is part of bzip2/libbzip2, a program and library for
lossless, block-sorting data compression.
- bzip2/libbzip2 version 1.0.5 of 10 December 2007
- Copyright (C) 1996-2007 Julian Seward <jseward at bzip.org>
+ bzip2/libbzip2 version 1.0.6 of 6 September 2010
+ Copyright (C) 1996-2010 Julian Seward <jseward at bzip.org>
Please read the WARNING, DISCLAIMER and PATENTS sections in the
README file.
Modified: trunk/libcompress-raw-bzip2-perl/bzip2-src/bzlib.c
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcompress-raw-bzip2-perl/bzip2-src/bzlib.c?rev=71576&op=diff
==============================================================================
--- trunk/libcompress-raw-bzip2-perl/bzip2-src/bzlib.c (original)
+++ trunk/libcompress-raw-bzip2-perl/bzip2-src/bzlib.c Thu Mar 17 20:39:59 2011
@@ -8,8 +8,8 @@
This file is part of bzip2/libbzip2, a program and library for
lossless, block-sorting data compression.
- bzip2/libbzip2 version 1.0.5 of 10 December 2007
- Copyright (C) 1996-2007 Julian Seward <jseward at bzip.org>
+ bzip2/libbzip2 version 1.0.6 of 6 September 2010
+ Copyright (C) 1996-2010 Julian Seward <jseward at bzip.org>
Please read the WARNING, DISCLAIMER and PATENTS sections in the
README file.
Modified: trunk/libcompress-raw-bzip2-perl/bzip2-src/bzlib.h
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcompress-raw-bzip2-perl/bzip2-src/bzlib.h?rev=71576&op=diff
==============================================================================
--- trunk/libcompress-raw-bzip2-perl/bzip2-src/bzlib.h (original)
+++ trunk/libcompress-raw-bzip2-perl/bzip2-src/bzlib.h Thu Mar 17 20:39:59 2011
@@ -8,8 +8,8 @@
This file is part of bzip2/libbzip2, a program and library for
lossless, block-sorting data compression.
- bzip2/libbzip2 version 1.0.5 of 10 December 2007
- Copyright (C) 1996-2007 Julian Seward <jseward at bzip.org>
+ bzip2/libbzip2 version 1.0.6 of 6 September 2010
+ Copyright (C) 1996-2010 Julian Seward <jseward at bzip.org>
Please read the WARNING, DISCLAIMER and PATENTS sections in the
README file.
Modified: trunk/libcompress-raw-bzip2-perl/bzip2-src/bzlib_private.h
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcompress-raw-bzip2-perl/bzip2-src/bzlib_private.h?rev=71576&op=diff
==============================================================================
--- trunk/libcompress-raw-bzip2-perl/bzip2-src/bzlib_private.h (original)
+++ trunk/libcompress-raw-bzip2-perl/bzip2-src/bzlib_private.h Thu Mar 17 20:39:59 2011
@@ -8,8 +8,8 @@
This file is part of bzip2/libbzip2, a program and library for
lossless, block-sorting data compression.
- bzip2/libbzip2 version 1.0.5 of 10 December 2007
- Copyright (C) 1996-2007 Julian Seward <jseward at bzip.org>
+ bzip2/libbzip2 version 1.0.6 of 6 September 2010
+ Copyright (C) 1996-2010 Julian Seward <jseward at bzip.org>
Please read the WARNING, DISCLAIMER and PATENTS sections in the
README file.
@@ -36,7 +36,7 @@
/*-- General stuff. --*/
-#define BZ_VERSION "1.0.5, 10-Dec-2007"
+#define BZ_VERSION "1.0.6, 6-Sept-2010"
typedef char Char;
typedef unsigned char Bool;
Modified: trunk/libcompress-raw-bzip2-perl/bzip2-src/compress.c
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcompress-raw-bzip2-perl/bzip2-src/compress.c?rev=71576&op=diff
==============================================================================
--- trunk/libcompress-raw-bzip2-perl/bzip2-src/compress.c (original)
+++ trunk/libcompress-raw-bzip2-perl/bzip2-src/compress.c Thu Mar 17 20:39:59 2011
@@ -8,8 +8,8 @@
This file is part of bzip2/libbzip2, a program and library for
lossless, block-sorting data compression.
- bzip2/libbzip2 version 1.0.5 of 10 December 2007
- Copyright (C) 1996-2007 Julian Seward <jseward at bzip.org>
+ bzip2/libbzip2 version 1.0.6 of 6 September 2010
+ Copyright (C) 1996-2010 Julian Seward <jseward at bzip.org>
Please read the WARNING, DISCLAIMER and PATENTS sections in the
README file.
Modified: trunk/libcompress-raw-bzip2-perl/bzip2-src/crctable.c
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcompress-raw-bzip2-perl/bzip2-src/crctable.c?rev=71576&op=diff
==============================================================================
--- trunk/libcompress-raw-bzip2-perl/bzip2-src/crctable.c (original)
+++ trunk/libcompress-raw-bzip2-perl/bzip2-src/crctable.c Thu Mar 17 20:39:59 2011
@@ -8,8 +8,8 @@
This file is part of bzip2/libbzip2, a program and library for
lossless, block-sorting data compression.
- bzip2/libbzip2 version 1.0.5 of 10 December 2007
- Copyright (C) 1996-2007 Julian Seward <jseward at bzip.org>
+ bzip2/libbzip2 version 1.0.6 of 6 September 2010
+ Copyright (C) 1996-2010 Julian Seward <jseward at bzip.org>
Please read the WARNING, DISCLAIMER and PATENTS sections in the
README file.
Modified: trunk/libcompress-raw-bzip2-perl/bzip2-src/decompress.c
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcompress-raw-bzip2-perl/bzip2-src/decompress.c?rev=71576&op=diff
==============================================================================
--- trunk/libcompress-raw-bzip2-perl/bzip2-src/decompress.c (original)
+++ trunk/libcompress-raw-bzip2-perl/bzip2-src/decompress.c Thu Mar 17 20:39:59 2011
@@ -8,8 +8,8 @@
This file is part of bzip2/libbzip2, a program and library for
lossless, block-sorting data compression.
- bzip2/libbzip2 version 1.0.5 of 10 December 2007
- Copyright (C) 1996-2007 Julian Seward <jseward at bzip.org>
+ bzip2/libbzip2 version 1.0.6 of 6 September 2010
+ Copyright (C) 1996-2010 Julian Seward <jseward at bzip.org>
Please read the WARNING, DISCLAIMER and PATENTS sections in the
README file.
@@ -381,6 +381,13 @@
es = -1;
N = 1;
do {
+ /* Check that N doesn't get too big, so that es doesn't
+ go negative. The maximum value that can be
+ RUNA/RUNB encoded is equal to the block size (post
+ the initial RLE), viz, 900k, so bounding N at 2
+ million should guard against overflow without
+ rejecting any legitimate inputs. */
+ if (N >= 2*1024*1024) RETURN(BZ_DATA_ERROR);
if (nextSym == BZ_RUNA) es = es + (0+1) * N; else
if (nextSym == BZ_RUNB) es = es + (1+1) * N;
N = N * 2;
@@ -485,12 +492,25 @@
RETURN(BZ_DATA_ERROR);
/*-- Set up cftab to facilitate generation of T^(-1) --*/
+ /* Check: unzftab entries in range. */
+ for (i = 0; i <= 255; i++) {
+ if (s->unzftab[i] < 0 || s->unzftab[i] > nblock)
+ RETURN(BZ_DATA_ERROR);
+ }
+ /* Actually generate cftab. */
s->cftab[0] = 0;
for (i = 1; i <= 256; i++) s->cftab[i] = s->unzftab[i-1];
for (i = 1; i <= 256; i++) s->cftab[i] += s->cftab[i-1];
+ /* Check: cftab entries in range. */
for (i = 0; i <= 256; i++) {
if (s->cftab[i] < 0 || s->cftab[i] > nblock) {
/* s->cftab[i] can legitimately be == nblock */
+ RETURN(BZ_DATA_ERROR);
+ }
+ }
+ /* Check: cftab entries non-descending. */
+ for (i = 1; i <= 256; i++) {
+ if (s->cftab[i-1] > s->cftab[i]) {
RETURN(BZ_DATA_ERROR);
}
}
Modified: trunk/libcompress-raw-bzip2-perl/bzip2-src/huffman.c
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcompress-raw-bzip2-perl/bzip2-src/huffman.c?rev=71576&op=diff
==============================================================================
--- trunk/libcompress-raw-bzip2-perl/bzip2-src/huffman.c (original)
+++ trunk/libcompress-raw-bzip2-perl/bzip2-src/huffman.c Thu Mar 17 20:39:59 2011
@@ -8,8 +8,8 @@
This file is part of bzip2/libbzip2, a program and library for
lossless, block-sorting data compression.
- bzip2/libbzip2 version 1.0.5 of 10 December 2007
- Copyright (C) 1996-2007 Julian Seward <jseward at bzip.org>
+ bzip2/libbzip2 version 1.0.6 of 6 September 2010
+ Copyright (C) 1996-2010 Julian Seward <jseward at bzip.org>
Please read the WARNING, DISCLAIMER and PATENTS sections in the
README file.
Modified: trunk/libcompress-raw-bzip2-perl/bzip2-src/randtable.c
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcompress-raw-bzip2-perl/bzip2-src/randtable.c?rev=71576&op=diff
==============================================================================
--- trunk/libcompress-raw-bzip2-perl/bzip2-src/randtable.c (original)
+++ trunk/libcompress-raw-bzip2-perl/bzip2-src/randtable.c Thu Mar 17 20:39:59 2011
@@ -8,8 +8,8 @@
This file is part of bzip2/libbzip2, a program and library for
lossless, block-sorting data compression.
- bzip2/libbzip2 version 1.0.5 of 10 December 2007
- Copyright (C) 1996-2007 Julian Seward <jseward at bzip.org>
+ bzip2/libbzip2 version 1.0.6 of 6 September 2010
+ Copyright (C) 1996-2010 Julian Seward <jseward at bzip.org>
Please read the WARNING, DISCLAIMER and PATENTS sections in the
README file.
Modified: trunk/libcompress-raw-bzip2-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcompress-raw-bzip2-perl/debian/changelog?rev=71576&op=diff
==============================================================================
--- trunk/libcompress-raw-bzip2-perl/debian/changelog (original)
+++ trunk/libcompress-raw-bzip2-perl/debian/changelog Thu Mar 17 20:39:59 2011
@@ -1,4 +1,4 @@
-libcompress-raw-bzip2-perl (2.024-2) UNRELEASED; urgency=low
+libcompress-raw-bzip2-perl (2.033-1) UNRELEASED; urgency=low
* Move under the umbrella of the Debian Perl Group with maintainer's request
(cf. http://bugs.debian.org/577989)
@@ -9,7 +9,9 @@
Uploaders.
* debian/watch: update to ignore development releases.
- -- gregor herrmann <gregoa at debian.org> Thu, 17 Mar 2011 21:29:05 +0100
+ * New upstream release (closes: #577989).
+
+ -- gregor herrmann <gregoa at debian.org> Thu, 17 Mar 2011 21:38:17 +0100
libcompress-raw-bzip2-perl (2.024-1) unstable; urgency=low
Modified: trunk/libcompress-raw-bzip2-perl/lib/Compress/Raw/Bzip2.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcompress-raw-bzip2-perl/lib/Compress/Raw/Bzip2.pm?rev=71576&op=diff
==============================================================================
--- trunk/libcompress-raw-bzip2-perl/lib/Compress/Raw/Bzip2.pm (original)
+++ trunk/libcompress-raw-bzip2-perl/lib/Compress/Raw/Bzip2.pm Thu Mar 17 20:39:59 2011
@@ -12,7 +12,7 @@
use bytes ;
our ($VERSION, $XS_VERSION, @ISA, @EXPORT, $AUTOLOAD);
-$VERSION = '2.024';
+$VERSION = '2.033';
$XS_VERSION = $VERSION;
$VERSION = eval $VERSION;
@@ -220,7 +220,7 @@
=head1 Uncompression
-=head2 ($z, $status) = new Compress::Raw::Bunzip2 $appendOutput, $consumeInput, $small, $limitOutput;
+=head2 ($z, $status) = new Compress::Raw::Bunzip2 $appendOutput, $consumeInput, $small, $verbosity, $limitOutput;
If successful, it will return the initialised uncompression object, C<$z>
and a C<$status> of C<BZ_OK> in a list context. In scalar context it
@@ -272,6 +272,12 @@
enabled.
This option defaults to false.
+
+=item B<$verbosity>
+
+This parameter is ignored.
+
+Defaults to 0.
=back
@@ -348,7 +354,7 @@
=head1 COPYRIGHT AND LICENSE
-Copyright (c) 2005-2010 Paul Marquess. All rights reserved.
+Copyright (c) 2005-2011 Paul Marquess. All rights reserved.
This program is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.
Modified: trunk/libcompress-raw-bzip2-perl/pod/FAQ.pod
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcompress-raw-bzip2-perl/pod/FAQ.pod?rev=71576&op=diff
==============================================================================
--- trunk/libcompress-raw-bzip2-perl/pod/FAQ.pod (original)
+++ trunk/libcompress-raw-bzip2-perl/pod/FAQ.pod Thu Mar 17 20:39:59 2011
@@ -77,21 +77,6 @@
$tar->write($fh);
$fh->close ;
-=head2 Accessing Zip Files
-
-This module does not support reading/writing zip files.
-
-Support for reading/writing zip files is included with the
-C<IO::Compress::Zip> and C<IO::Uncompress::Unzip> modules.
-
-The primary focus of the C<IO::Compress::Zip> and C<IO::Uncompress::Unzip>
-modules is to provide an C<IO::File> compatible streaming read/write
-interface to zip files/buffers. They are not fully flegged archivers. If
-you are looking for an archiver check out the C<Archive::Zip> module. You
-can find it on CPAN at
-
- http://www.cpan.org/modules/by-module/Archive/Archive-Zip-*.tar.gz
-
=head1 SEE ALSO
L<Compress::Zlib>, L<IO::Compress::Gzip>, L<IO::Uncompress::Gunzip>, L<IO::Compress::Deflate>, L<IO::Uncompress::Inflate>, L<IO::Compress::RawDeflate>, L<IO::Uncompress::RawInflate>, L<IO::Compress::Bzip2>, L<IO::Uncompress::Bunzip2>, L<IO::Compress::Lzma>, L<IO::Uncompress::UnLzma>, L<IO::Compress::Xz>, L<IO::Uncompress::UnXz>, L<IO::Compress::Lzop>, L<IO::Uncompress::UnLzop>, L<IO::Compress::Lzf>, L<IO::Uncompress::UnLzf>, L<IO::Uncompress::AnyInflate>, L<IO::Uncompress::AnyUncompress>
@@ -112,7 +97,7 @@
=head1 COPYRIGHT AND LICENSE
-Copyright (c) 2005-2010 Paul Marquess. All rights reserved.
+Copyright (c) 2005-2011 Paul Marquess. All rights reserved.
This program is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.
Modified: trunk/libcompress-raw-bzip2-perl/t/000prereq.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcompress-raw-bzip2-perl/t/000prereq.t?rev=71576&op=diff
==============================================================================
--- trunk/libcompress-raw-bzip2-perl/t/000prereq.t (original)
+++ trunk/libcompress-raw-bzip2-perl/t/000prereq.t Thu Mar 17 20:39:59 2011
@@ -19,7 +19,7 @@
if eval { require Test::NoWarnings ; import Test::NoWarnings; 1 };
- my $VERSION = '2.024';
+ my $VERSION = '2.033';
my @NAMES = qw(
);
More information about the Pkg-perl-cvs-commits
mailing list