Skip to content

bug(od): when $'\xff' the tools hangs while the gnu one rejects it with an error #12794

Description

@HackingRepo

Hi, uutils mainteners

it is very weird when using a character like $'\xff' that prohbited in UTF8, the uutils old hangs not errors out

relunsec@relunsec:~/software/coreutils/target/debug$ ./od $'\xff'

as you can see the gnu does not

relunsec@relunsec:~/software/coreutils/target/debug$ gnuod $'\xff'
gnuod: ''$'\377': Invalid or incomplete multibyte or wide character
relunsec@relunsec:~/software/coreutils/target/debug$ 

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions