Skip to content

printf: Should not allow numbers with exponents only #7685

@drinkcat

Description

@drinkcat

Found by the fuzzer (cargo +nightly fuzz run fuzz_seq)

$ env printf "%f" "E8"
printf: ‘E8’: expected a numeric value
0.000000
$ cargo run printf "%f" "E8"
0.000000

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions