Skip to content

HugeWordAssignBufStrB / HugeWordAssignBufStr works wrong with short buffers #33

@DenisDx

Description

@DenisDx

Hello!

Thank you for a great library!

I found a bug in the functions HugeWordAssignBufStrB and HugeWordAssignBufStr
it adds 0x013F00 to the short buffers

How to repeat:
pass a single byte buffer to the function, e.g., #1

A "patch" that fixes the problem (just add zeros)
raw := StringOfChar(#0,3) + raw;
HugeWordAssignBufStrB(BN, raw, True);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions