lkml.org 
[lkml]   [2018]   [Mar]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v3] vsprintf: Prevent crash when dereferencing invalid pointers
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

\
 
 \ /
  Last update: 2018-03-15 01:58    [W:0.415 / U:1.460 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site