gnunet doesn't handle files larger than 2^32 bytes correctly
"C. Dominik Bodi" <[email protected]> Sun, 5 Oct 2008 18:28:50 +0200
| Newsgroups | gmane.network.gnunet.bugs |
|---|---|
| Message-ID | <[email protected]> |
Hello, I've found a discrepancy between the file size reported using gnunet-search and the file of the size inserted. For instance, the 1st amd64 DVD of the Debian 4.0 r4a release: 4690843648 debian-40r4a-amd64-DVD-1.iso gnunet-insert and gnunet-search report URI gnunet://ecrs/chk/2P5HV6726BM4P76NGL67MO3UL9SVOI1Q04T0EM07QPRER4HMNU6AM5UHJ50FSUTE4J16NFTV812P43P024I8F1TUVFGLI0QJQ751UO8.NNF7H4N32GMEEDTICAEC808C45OBVLEOQDJG54SEFSCEB0RCQK0AN5G0BG3ATA1U6HCLS8V0FCM144UPQTQCEE8K0SR28BJPSAU16DG.4690843648 However, gnunet-search says the file is 395.88 MB large. Coincidentally, when using decimal MB, this is almost exactly the remainder result when dividing the correct file size by 2^32. It seems for some reason either gnunet-insert or another part of the gnunet system is not able to cope with files larger than 2^32. Seems the variables storing the file sizes are 32 bits only. I'm using gnunet 0.8.0b on a Debian unstable (sid) system. Regards, C. Dominik Bódi _______________________________________________ Bug-GNUnet mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-gnunet
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iD8DBQBI6OtDkW7mZ31ZODcRAlXIAJ4yAnDVF4dSYlh/SQ45yN/OqxzJkQCfdwTA e55nLKacwbsxbaKV2jor+Yk= =3kbZ -----END PGP SIGNATURE-----