[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-GNUnet] gnunet doesn't handle files larger than 2^32 bytes correctl
From: |
C. Dominik Bodi |
Subject: |
[bug-GNUnet] gnunet doesn't handle files larger than 2^32 bytes correctly |
Date: |
Sun, 5 Oct 2008 18:28:50 +0200 |
User-agent: |
KMail/1.9.9 |
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
signature.asc
Description: This is a digitally signed message part.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug-GNUnet] gnunet doesn't handle files larger than 2^32 bytes correctly,
C. Dominik Bodi <=