This repository was archived by the owner on Jan 26, 2026. It is now read-only.
Commit 968e09a
options: Fail if no number was parsed
strtoul returns 0 if no valid character was parsed, which
can unwantedly misconfigure the options.
Signed-off-by: Norbert Pocs <npocs@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>1 parent a006d34 commit 968e09a
1 file changed
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
572 | 572 | | |
573 | 573 | | |
574 | 574 | | |
| 575 | + | |
575 | 576 | | |
| 577 | + | |
576 | 578 | | |
577 | 579 | | |
578 | 580 | | |
| |||
774 | 776 | | |
775 | 777 | | |
776 | 778 | | |
| 779 | + | |
777 | 780 | | |
| 781 | + | |
778 | 782 | | |
779 | 783 | | |
780 | 784 | | |
| |||
1986 | 1990 | | |
1987 | 1991 | | |
1988 | 1992 | | |
1989 | | - | |
| 1993 | + | |
| 1994 | + | |
| 1995 | + | |
1990 | 1996 | | |
1991 | 1997 | | |
1992 | 1998 | | |
| |||
2013 | 2019 | | |
2014 | 2020 | | |
2015 | 2021 | | |
2016 | | - | |
| 2022 | + | |
| 2023 | + | |
| 2024 | + | |
2017 | 2025 | | |
2018 | 2026 | | |
2019 | 2027 | | |
| |||
0 commit comments