You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Furthermore, the expected/found situation (between both u32 and u64) is possibly incorrect (and somewhat weird), as for u32 one may have 5 bytes, with 0xFF for the first four, and 0x7F for the last - this is 4 continuation bits, and 5*7 = 35 bits in the integer value. 35 bits (2³⁵ - 1) will overflow the u32.
The text was updated successfully, but these errors were encountered:
I didn't write up my corresponding implementation for u64. I only have u32. I'll write up the u64 impl soon then use both here. I want to get this done within a few hours.
nova/wasm/src/varint.rs
Lines 56 to 61 in f903792
U64 may definitely read over 5 bytes.
Furthermore, the
expected
/found
situation (between both u32 and u64) is possibly incorrect (and somewhat weird), as for u32 one may have 5 bytes, with 0xFF for the first four, and 0x7F for the last - this is 4 continuation bits, and 5*7 = 35 bits in the integer value. 35 bits (2³⁵ - 1) will overflow the u32.The text was updated successfully, but these errors were encountered: