summaryrefslogtreecommitdiff
path: root/MAINTAINERS
diff options
context:
space:
mode:
authorxypron.glpk@gmx.de <xypron.glpk@gmx.de>2017-05-04 22:26:42 +0200
committerTom Rini <trini@konsulko.com>2017-05-05 16:45:57 -0400
commitf59a3b21f60190793dc3cee97338c2f6ee9f2336 (patch)
tree5897435c6e271cad2bd269a7306cfb94e6b25d8c /MAINTAINERS
parentd27e35f2564f751a3cc47daa5ab9897f04401a40 (diff)
tools: sunxi: avoid read after end of string
The evaluation of option -c is incorrect: According to the C99 standard endptr in the first strtol is always set as &endptr is not NULL. So the first part of the or condition is always true. If all digits in optarg are valid endptr will point to the closing \0 and the second strtol will read beyond the end of the string optarg points to. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions