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

Sergey Senozhatsky
2018-03-15T00:58:01Z

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