Hello,
At Thu, 19 Nov 2026 00:12:02 -0300, Joao Rito <joaovictor(dot)rito(at)gmail(dot)com> wrote in
> option_parse_int() passes the argument to strtoint() and only checks
> that nothing but whitespace follows the number. For an empty or
> all-whitespace string strtoint() consumes nothing and returns 0, so the
> check passes and the option is silently accepted as 0. Report it as an invalid value, as
> is already done for other non-numeric input.
The diagnosis seems correct, and the fix looks good to me. It also
worked for me.
A quick search didn't turn up any similar issues.a
Regards,
--
Kyotaro Horiguchi
NTT Open Source Software Center