public inbox for nncp-devel@lists.cypherpunks.ru
Atom feed
From: Sergey Matveev <stargrave@stargrave•org>
To: nncp-devel@lists.cypherpunks.ru
Subject: Re: Unexpected EOF in 7.2.0
Date: Sat, 10 Jul 2021 10:38:51 +0300	[thread overview]
Message-ID: <YOlOlnwgLKYuI/Vx@stargrave.org> (raw)
In-Reply-To: <878s2fck46.fsf@complete.org>

[-- Attachment #1: Type: text/plain, Size: 838 bytes --]

Greetings!

*** John Goerzen [2021-07-09 15:23]:
>The packet was generated on a Raspberry Pi (32-bit ARM userland), is 3GB in
>size, and is being processed on an x86_64 machine (64-bit userland).
>pktEncRead: Making LimitedReader, size: -1097891139

Currently I did not investigate that, but when you talked about 3GB
sizes my first thought was about 32-bits indeed. Negative size in your
output confirms that.

I quickly looked at the code and indeed see some places with plain
"int"s, instead of "int64"s. I hoped that noone will use 32-bit system
anymore :-). Thank you very very much for that report! I will create
32-bit system in VM and will check its workability there. Hope that
today I will fix that.

-- 
Sergey Matveev (http://www.stargrave.org/)
OpenPGP: CF60 E89A 5923 1E76 E263  6422 AE1A 8109 E498 57EF

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2021-07-10  7:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-09 15:23 Unexpected EOF in 7.2.0 John Goerzen
2021-07-09 16:42 ` John Goerzen
2021-07-09 20:23   ` John Goerzen
2021-07-10  7:38     ` Sergey Matveev [this message]
2021-07-10 13:04       ` John Goerzen
2021-07-10 13:38         ` Sergey Matveev
2021-07-10 22:38           ` John Goerzen