]> git.baikalelectronics.ru Git - kernel.git/commit
tracing: Fix uninitialized buffer var on early exit to trace_vbprintk()
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Wed, 22 Jan 2020 11:44:50 +0000 (06:44 -0500)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Wed, 22 Jan 2020 11:44:50 +0000 (06:44 -0500)
commit436d7e5fffb244a799f1bade2bcc52a170f954cd
treebe7232363c952d1b7ab9f1234c11c1b28ce6fea9
parent6868830e4ce75e7e5dfabdf1619cf7441a6400c8
tracing: Fix uninitialized buffer var on early exit to trace_vbprintk()

If we exit due to a bad input to trace_printk() (highly unlikely), then the
buffer variable will not be initialized when we unnest the ring buffer.

Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/trace.c