[PATCH] vsprintf: Do not break early boot with probing addresses
Sergey Senozhatsky
sergey.senozhatsky.work at gmail.com
Wed May 15 16:21:11 AEST 2019
On (05/14/19 21:13), Geert Uytterhoeven wrote:
> I would immediately understand there's a missing IS_ERR() check in a
> function that can return -EINVAL, without having to add a new printk()
> to find out what kind of bogus value has been received, and without
> having to reboot, and trying to reproduce...
But chances are that missing IS_ERR() will crash the kernel sooner
or later (in general case), if not in sprintf() then somewhere else.
-ss
More information about the Linuxppc-dev
mailing list