monero-lws icon indicating copy to clipboard operation
monero-lws copied to clipboard

Fix divide by zero in subaddresses n_maj

Open vtnerd opened this issue 10 months ago • 2 comments

Found by @everoddandeven

vtnerd avatar Apr 23 '24 01:04 vtnerd

signal-2024-04-26-181317_003 signal-2024-04-26-181317_002 signal-2024-04-26-181146_003 signal-2024-04-26-181146_002 I think I have founde other bugs. Now all subaddrs methods are crashing server with 2024-04-26 16:16:13.995 D Schema expected array: 2 array elements of at least 2 bytes each exceeds 3 remaining bytes terminate called after throwing an instance of 'std::system_error' what(): thrown at storage.cpp:1014: Schema expected array error

everoddandeven avatar Apr 26 '24 16:04 everoddandeven

Could you provide some steps to reproduce this behavior? I just ran both of the /provision_subaddrs requests and it worked as expected.

I have a feeling that reproducing the DB state might be difficult.

vtnerd avatar Apr 26 '24 20:04 vtnerd