Your message dated Tue, 19 Aug 2008 13:02:03 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#495646: fixed in hoz 1.65-2
has caused the Debian Bug report #495646,
regarding hoz: Wrong partsize behavior
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.)
--
495646: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=495646
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: hoz
Version: 1.65-1
Severity: important
Tags: patch
Hoz miscalculates partsize passed to cli via '-c' arg.
$hoz -c5k myfile (should split the file into 5KB parts)
-rw-r--r-- 1 cgalisteo cgalisteo 5,0M ago 19 12:23 myfile.1
-rw-r--r-- 1 cgalisteo cgalisteo 5,0M ago 19 12:23 myfile.2
-rw-r--r-- 1 cgalisteo cgalisteo 5,0M ago 19 12:23 myfile.3
[...]
$hoz -c15m myfile (should split the file into 15MB parts)
-rw-r--r-- 1 cgalisteo cgalisteo 4096 ago 19 12:38 myfile.1
-rw-r--r-- 1 cgalisteo cgalisteo 4096 ago 19 12:38 myfile.2
-rw-r--r-- 1 cgalisteo cgalisteo 4096 ago 19 12:38 myfile.3
[...]
The reason seems to be an error in hozcli.c:136, where partsize is
multiplied by size_multiplier *again*, even though atolmp already
does it 5 lines above.
Patch attached :)
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages hoz depends on:
ii libc6 2.7-13 GNU C Library: Shared libraries
--
---
Carlos Galisteo <cgalisteo AT k-rolus.net>
PGP_key::http://k-rolus.net/~cgalisteo/cgalisteo.gpg
Key_Fingerprint::F888 6FBA 9145 B5A2 C187 66D6 5B8C 027A 69AD BE65
---
--- hozcli.c.orig 2008-08-19 12:52:03.000000000 +0200
+++ hozcli.c 2008-08-19 12:52:08.000000000 +0200
@@ -133,7 +133,7 @@ int main(int argc, char **argv)
hoz_echo(409, cval);
return 409;
}
- partsize *= size_multiplier;
+ //partsize *= size_multiplier;
}
j = 0;
--- End Message ---
--- Begin Message ---
Source: hoz
Source-Version: 1.65-2
We believe that the bug you reported is fixed in the latest version of
hoz, which is due to be installed in the Debian FTP archive:
hoz-gui_1.65-2_amd64.deb
to pool/main/h/hoz/hoz-gui_1.65-2_amd64.deb
hoz_1.65-2.diff.gz
to pool/main/h/hoz/hoz_1.65-2.diff.gz
hoz_1.65-2.dsc
to pool/main/h/hoz/hoz_1.65-2.dsc
hoz_1.65-2_amd64.deb
to pool/main/h/hoz/hoz_1.65-2_amd64.deb
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.
Miriam Ruiz <[EMAIL PROTECTED]> (supplier of updated hoz 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: Mon, 18 Aug 2008 14:28:31 +0200
Source: hoz
Binary: hoz hoz-gui
Architecture: source amd64
Version: 1.65-2
Distribution: unstable
Urgency: low
Maintainer: Miriam Ruiz <[EMAIL PROTECTED]>
Changed-By: Miriam Ruiz <[EMAIL PROTECTED]>
Description:
hoz - file splitter that uses the hacha file format
hoz-gui - file splitter that uses the hacha file format
Closes: 495297 495646
Changes:
hoz (1.65-2) unstable; urgency=low
.
* Added sanitize_path.patch to make sure that paths are properly handled to
avoid potential security holes. Closes: #495297
* Fixed miscalculation of partsize passed to cli via '-c' arg. Closes:
#495646
Thanks to Carlos Galisteo <[EMAIL PROTECTED]>
* Upgraded Standards-Version to 3.8.0. No changes needed.
* Added Homepage field to debian/control
* Do not ignore make clean errors in debian/rules
* Fixed man page
* Changed menu section to "Applications/File Management"
Checksums-Sha1:
ea667a94388b062eea7c0901a5a59d8aeafcccaf 980 hoz_1.65-2.dsc
7ed5081632bd2d6d08d00360be8029f9e256089b 9910 hoz_1.65-2.diff.gz
43c0346b2361a8123dbf312c774d072869b2686d 16322 hoz_1.65-2_amd64.deb
5bd74960e27d61b3e71fa3e9e74e6fe57344d283 17416 hoz-gui_1.65-2_amd64.deb
Checksums-Sha256:
6e6edb3dcfcf35a7472ee2f7e2e2adf190f9f5f293f4f683a3ce1eaba38044c5 980
hoz_1.65-2.dsc
bb35650fd26f2b702c6c3406bbb1fe34a3fe9640b616bfe811f5c49dfa5be794 9910
hoz_1.65-2.diff.gz
fc4214883422876bc9099a97349e2228f759d48db384252d8d312eed5e9e7c62 16322
hoz_1.65-2_amd64.deb
053190772663bab025ae2a74315a7032f9734054f20fccec60afe64d239b4661 17416
hoz-gui_1.65-2_amd64.deb
Files:
2358d786aeb4fa58de98e0b4642304f3 980 utils optional hoz_1.65-2.dsc
72fe269abcb0268c85ebe10906495a8a 9910 utils optional hoz_1.65-2.diff.gz
22e6b3c19b20247fa8998e11abeead9d 16322 utils optional hoz_1.65-2_amd64.deb
2858a5fb4a4a3a6114c75da96a6c3b3e 17416 utils optional hoz-gui_1.65-2_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFIqsBKfbltLjbuCGERAoIVAJ9IqLmL+uQJcWCgOlqB2oyny+XqTACfaTSq
IkNwsJx+YPBi7TIEDTzsA2Y=
=7DdI
-----END PGP SIGNATURE-----
--- End Message ---