aboutsummaryrefslogtreecommitdiff
path: root/lib/crypto/mpi/mpi-add.c
diff options
context:
space:
mode:
authorValentin Schneider <[email protected]>2023-09-01 17:10:36 +0200
committerSteven Rostedt (Google) <[email protected]>2023-09-01 21:27:22 -0400
commit9af4058493c59721eccd90b7c40cad793e4e3c3b (patch)
tree57813982ac73f94a4250292cf42e1b225b844286 /lib/crypto/mpi/mpi-add.c
parent3d07fa1dd19035eb0b13ae6697efd5caa9033e74 (diff)
tracing/filters: Fix error-handling of cpulist parsing buffer
parse_pred() allocates a string buffer to parse the user-provided cpulist, but doesn't check the allocation result nor does it free the buffer once it is no longer needed. Add an allocation check, and free the buffer as soon as it is no longer needed. Link: https://lkml.kernel.org/r/[email protected] Cc: Masami Hiramatsu <[email protected]> Reported-by: Steven Rostedt <[email protected]> Reported-by: Josh Poimboeuf <[email protected]> Signed-off-by: Valentin Schneider <[email protected]> Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions