]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - kernel/trace/trace.c
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)
commit34423f250a372d71346922edf2b84a19d811a311
treebe7232363c952d1b7ab9f1234c11c1b28ce6fea9
parent532f49a6f19a153e202b5a174f8556fd50c36dd4
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