Re: [PATCH] selftests/x86: clarify that there is no buffer overflow on sscanf usage

2018-02-12 Thread Shuah Khan
On 02/11/2018 01:59 PM, Dominik Brodowski wrote: > > Suggested-by: Ingo Molnar > CC: Andy Lutomirski > Signed-off-by: Dominik Brodowski > Missing commit log. Please add one. thanks, -- Shuah > --- > >> Yeah, probably - but still, this connection and the sscanf() guarantee is >> not >> ob

[PATCH] selftests/x86: clarify that there is no buffer overflow on sscanf usage

2018-02-11 Thread Dominik Brodowski
Suggested-by: Ingo Molnar CC: Andy Lutomirski Signed-off-by: Dominik Brodowski --- > Yeah, probably - but still, this connection and the sscanf() guarantee is not > obvious at first sight, so please improve this to derive from the same value > (define a LINE_MAX size or such), plus maybe ad