Re: [PATCH v3] vsprintf: Prevent crash when dereferencing invalid pointers

From: Sergey Senozhatsky
Date: Wed Mar 14 2018 - 20:58:04 EST


On (03/14/18 15:09), Petr Mladek wrote:
> Changes against v2:
>
> + fix handling with strchr(string, '\0'); happens with
> %p at the very end of the string
> + even more clear commit message
> + update Documentation/core-api/printk-formats.rst
> + add check into lib/test_printf.c
>
> Changes against v1:
>
> + do not check access for plain %p
> + more clear commit message

Did I miss v1 and v2?

-ss