tracing/user_events: Ensure user provided strings are safely formatted
User processes can provide bad strings that may cause issues or leak kernel details back out. Don't trust the content of these strings when formatting strings for matching. This also moves to a consistent dynamic length string creation model. Link: https://lkml.kernel.org/r/20220728233309.1896-4-beaub@linux.microsoft.com Link: https://lore.kernel.org/all/2059213643.196683.1648499088753.JavaMail.zimbra@efficios.com/Reported-by: NMathieu Desnoyers <mathieu.desnoyers@efficios.com> Signed-off-by: NBeau Belgrave <beaub@linux.microsoft.com> Signed-off-by: NSteven Rostedt (Google) <rostedt@goodmis.org>
Showing
想要评论请 注册 或 登录