Files
linux-stable-mirror/lib
Michael Ellerman 29924e5030 seq_buf: Use size_t for len in seq_buf_puts()
Jann Horn points out that we're using unsigned int for len in
seq_buf_puts(), which could potentially overflow if we're passed a
UINT_MAX sized string.

The rest of the code already uses size_t, so we should also use that
in seq_buf_puts() to avoid any issues.

Link: http://lkml.kernel.org/r/20181019042109.8064-2-mpe@ellerman.id.au

Suggested-by: Jann Horn <jannh@google.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
2018-12-22 08:21:03 -05:00
..
2018-11-06 17:12:44 +00:00
2018-08-22 10:52:48 -07:00
2018-10-12 09:17:46 +02:00
2018-08-22 10:52:48 -07:00
2018-10-24 00:41:07 +01:00
2018-10-31 08:54:15 -07:00
2018-10-16 13:45:44 +02:00
2018-10-16 13:45:44 +02:00
2018-10-15 16:31:29 -04:00
2018-10-21 10:46:46 -04:00