Closed yoursunny closed 5 years ago
As of 8d097581e70998c34f0d69933dd153b07fe28c04, encoder_append_var checks whether appending a number would exceed output_max_size in 3-octet case, but not in 1-octet and 5-octet cases.
encoder_append_var
output_max_size
Commit 7ab17e0 will address this issue. Thank you for pointing this out.
As of 8d097581e70998c34f0d69933dd153b07fe28c04,
encoder_append_var
checks whether appending a number would exceedoutput_max_size
in 3-octet case, but not in 1-octet and 5-octet cases.