Alex Elder de50c02678 parser: don't treat 8 as a valid octal digit
The function isodigit() was defined to mimic isxdigit(), indicating
whether a given character was an octal digit.  But as written, it
considers '8' to be a valid octal digit, which it is not.  Fix this
bug.

In addition, the "bad_octal.qmi" test file refers to an undefined
"test_struct" as a message member type.  Fix that by using u32
instead.

Fixes: 61f6fe9 ("parser: be more restrictive when parsing numbers")
Signed-off-by: Alex Elder <elder@linaro.org>
2021-10-08 17:01:32 -05:00
2016-06-02 10:27:42 -07:00
2016-06-02 10:26:43 -07:00
2018-01-30 15:55:49 -08:00
2016-02-07 09:27:50 -08:00
2021-10-04 12:29:38 -05:00
2021-10-04 12:29:38 -05:00
Description
No description provided
BSD-3-Clause 96 KiB
Languages
C 99.4%
Makefile 0.6%