Skip to content

Incorrect handling of hex input with odd length #13

@acut3

Description

@acut3

Hex input is interpreted incorrectly when an odd number of characters is used. For example, when fff is used as the input, it will cause the data to be 11111111 00001111.

Hex input with an odd length should probably just be rejected. In any case, the current behavior doesn't really make sense and is also inconsistent with what happens when just 1 hex digit is used as an input (f for example is interpreted as 00001111, which kinda makes sense, but by that logic fff should be interpreted as 00001111 11111111, not 11111111 00001111).

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