RE: [PATCH] perf event-parse: Use fixed size string for comms

2018-08-30 Thread David Laight
From: cphlip...@gmail.com > Sent: 30 August 2018 03:20 > > Some implementations of libc do not support the 'm' width modifier > as part of the scanf string format specifier. This can cause the > parsing to fail. Since the parser never checks if the scanf > parsing was successesful, this can resul

[PATCH] perf event-parse: Use fixed size string for comms

2018-08-29 Thread cphlipot0
From: Chris Phlipot Some implementations of libc do not support the 'm' width modifier as part of the scanf string format specifier. This can cause the parsing to fail. Since the parser never checks if the scanf parsing was successesful, this can result in a crash. Change the comm string to be