Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vsprintf: Do not preprocess non-dereferenced pointers for bprintf (%p…
…x and %pK) Commit 841a915 ("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: [email protected] Fixes: 841a915 ("printf: Do not have bprintf dereference pointers") Signed-off-by: Steven Rostedt (VMware) <[email protected]>
- Loading branch information