[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


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

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.

C. Dominik Bódi

Attachment: signature.asc
Description: This is a digitally signed message part.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]