diff options
author | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2018-04-03 20:38:53 +0200 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2018-04-06 14:56:51 +0200 |
commit | 1e6338cfb50e244c445ad7d891b35385bd0ee757 (patch) | |
tree | a705089ef2d001966b5eb65f11ca39b8bce41fc3 /kernel/panic.c | |
parent | tracing: Uninitialized variable in create_tracing_map_fields() (diff) | |
download | linux-1e6338cfb50e244c445ad7d891b35385bd0ee757.tar.xz linux-1e6338cfb50e244c445ad7d891b35385bd0ee757.zip |
vsprintf: Do not preprocess non-dereferenced pointers for bprintf (%px and %pK)
Commit 841a915d20c7b2 ("printf: Do not have bprintf dereference pointers")
would preprocess various pointers that are dereferenced in the bprintf()
because the recording and printing are done at two different times. Some
pointers stayed dereferenced in the ring buffer because user space could
handle them (namely "%pS" and friends). Pointers that are not dereferenced
should not be processed immediately but instead just saved directly.
Cc: stable@vger.kernel.org
Fixes: 841a915d20c7b2 ("printf: Do not have bprintf dereference pointers")
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'kernel/panic.c')
0 files changed, 0 insertions, 0 deletions