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
A bug was discovered in the original StorePacking trait impl for SignersInfo: the quorum value was multiplied by an incorrect 2**32 value (0xffffffff instead of 0x100000000). The only case when this incorrect multiplication leads to incorrect unpacking is when signers_count is 0xffffffff (4_294_967_295), causing the quorum to exceed the expected value by one and the signers_count to unpack to 0. If all other use cases the unpacked value equal the one that was packed, since the same constant of 0xffffffff is used for division.
Nevertheless, this issue needs to be addressed.
The text was updated successfully, but these errors were encountered:
A bug was discovered in the original
StorePacking
trait impl forSignersInfo
: thequorum
value was multiplied by an incorrect 2**32 value (0xffffffff instead of 0x100000000). The only case when this incorrect multiplication leads to incorrect unpacking is whensigners_count
is 0xffffffff (4_294_967_295), causing thequorum
to exceed the expected value by one and thesigners_count
to unpack to 0. If all other use cases the unpacked value equal the one that was packed, since the same constant of 0xffffffff is used for division.Nevertheless, this issue needs to be addressed.
The text was updated successfully, but these errors were encountered: