Your message dated Wed, 13 Jul 2011 00:17:09 +0000
with message-id <[email protected]>
and subject line Bug#532041: fixed in libpar2 0.2.1-1
has caused the Debian Bug report #532041,
regarding libpar2 exposes wrong data type, so data_size >4GiB is reported 
incorrectly
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
532041: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=532041
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libpar2-0
Version: 0.2-1.1

In parheaders.h, block_size, data_size, and chunk_size are ints (32bit). They need to be "long long" (64bit). The bug can be seen when running gpar2 on a parity set and observing that data size is negative.

With the proper fix (as follows), data size is reported correctly. Note: gpar2 needs to be relinked against the new libpar2 library for the fix to take effect.

#include <stdlib.h>
#include <iostream>
class ParHeaders {
public:
 std::string setid;
 int packets;
 int recovery_block;
 int recoverable_files;
 int other_files;
 long long block_size;
 int data_blocks;
 long long data_size;
 long long chunk_size;

 ParHeaders(void);

};

See patch here (LP #384143): https://bugs.launchpad.net/ubuntu/+source/libpar2/+bug/384143



--- End Message ---
--- Begin Message ---
Source: libpar2
Source-Version: 0.2.1-1

We believe that the bug you reported is fixed in the latest version of
libpar2, which is due to be installed in the Debian FTP archive:

libpar2-0-dbg_0.2.1-1_amd64.deb
  to main/libp/libpar2/libpar2-0-dbg_0.2.1-1_amd64.deb
libpar2-0-dev_0.2.1-1_amd64.deb
  to main/libp/libpar2/libpar2-0-dev_0.2.1-1_amd64.deb
libpar2-0_0.2.1-1_amd64.deb
  to main/libp/libpar2/libpar2-0_0.2.1-1_amd64.deb
libpar2_0.2.1-1.debian.tar.gz
  to main/libp/libpar2/libpar2_0.2.1-1.debian.tar.gz
libpar2_0.2.1-1.dsc
  to main/libp/libpar2/libpar2_0.2.1-1.dsc
libpar2_0.2.1.orig.tar.gz
  to main/libp/libpar2/libpar2_0.2.1.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andreas Moog <[email protected]> (supplier of updated libpar2 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sat, 09 Jul 2011 15:42:04 +0200
Source: libpar2
Binary: libpar2-0-dev libpar2-0 libpar2-0-dbg
Architecture: source amd64
Version: 0.2.1-1
Distribution: unstable
Urgency: low
Maintainer: Andreas Moog <[email protected]>
Changed-By: Andreas Moog <[email protected]>
Description: 
 libpar2-0  - Library for performing common tasks related to PAR recovery sets
 libpar2-0-dbg - Debugging symbols for the libpar2-0 library
 libpar2-0-dev - Headers for the libpar2-0 library
Closes: 532041 632548
Changes: 
 libpar2 (0.2.1-1) unstable; urgency=low
 .
   * Re-Upload to Debian, New Maintainer (Closes: #632548)
   * Took over upstream development, new upstream release:
     - fixes wrong data type for files > 4GB (Closes: #532041)
   * Convert to source format 3.0 (quilt)
   * debian/copyright: Use dep-5 format
   * debian/watch: Fix watch file
Checksums-Sha1: 
 4145feda7eb472b20c84ff0b90e3b16cb05dc885 1214 libpar2_0.2.1-1.dsc
 75e248947f8817b4e70e367e6b8d276169499bc8 431884 libpar2_0.2.1.orig.tar.gz
 d681639d98a4034a93df0faf3e490b038723bee6 2301 libpar2_0.2.1-1.debian.tar.gz
 84fce86d0fcf6260045a0b12eb28acc7bea087b9 177732 libpar2-0-dev_0.2.1-1_amd64.deb
 b0033f504ea789a32b55b4e62dd0a2bf68eab298 107248 libpar2-0_0.2.1-1_amd64.deb
 901ec23e11f856599920a209005976a7666a425e 769654 libpar2-0-dbg_0.2.1-1_amd64.deb
Checksums-Sha256: 
 a0a3a6960c53e4d4fed1c5769f7b9b1efa8bf4fc47bc7dcdcea737f0fde18c50 1214 
libpar2_0.2.1-1.dsc
 001adaf2d229d245d2310ba3b5d33cf78a808705b3a07d92acb7a488bdc55ac2 431884 
libpar2_0.2.1.orig.tar.gz
 d033d5f74efe402298a3b6a400ae9761f40ba42837bd8891977b710ec90730bc 2301 
libpar2_0.2.1-1.debian.tar.gz
 0b555e699d52d685b6434d070fc488d5d4e400af1326ee1eb0bf36c215598338 177732 
libpar2-0-dev_0.2.1-1_amd64.deb
 58ee5ccab77ba605b7c6dfad9bde62d78fe6f212048e62b9c481bc8e1d8c0292 107248 
libpar2-0_0.2.1-1_amd64.deb
 25767717118f254d7d9dad2548fd6c60fcfdc5fd80a9557bfe8d6e8a4565917c 769654 
libpar2-0-dbg_0.2.1-1_amd64.deb
Files: 
 489798a7b03540af91724b01fd6857fb 1214 libs optional libpar2_0.2.1-1.dsc
 0a45fb992292d9af02e2d79a8f52ce4c 431884 libs optional libpar2_0.2.1.orig.tar.gz
 2a28d730a229281e1053849f1b51e48d 2301 libs optional 
libpar2_0.2.1-1.debian.tar.gz
 b5d861a3be22b881647d7fd371602f61 177732 libdevel optional 
libpar2-0-dev_0.2.1-1_amd64.deb
 15011281b9ee3a0fe5e9558af2a0f4db 107248 libs optional 
libpar2-0_0.2.1-1_amd64.deb
 ea55402076149c45cfdb2e458c48645f 769654 debug extra 
libpar2-0-dbg_0.2.1-1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iD8DBQFOG+Povdkzt4X+wX8RAh49AJ9caiLghvjT8Nm/IeubfWBD9o3c4QCfSZAD
1yjZ0olwLSCQkChbTh41cAI=
=b5y0
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to