cb0r icon indicating copy to clipboard operation
cb0r copied to clipboard

Byte string `length` incorrect

Open letmaik opened this issue 4 years ago • 0 comments

Adding the following to one of the unit tests shows the issue:

len = unhex("581868656c6c6f6f6f6f6f6f6f6f6f6f6f6f6f6f206e75727365",start);
// ...
fail_unless(memcmp(res->start+res->header,"helloooooooooooooo nurse",res->length) == 0);
fail_unless(res->length == 24); // actual: 25

PR #1 fixes this issue and should be merged.

letmaik avatar Jun 21 '21 14:06 letmaik