Skip to content

trace-cmd: Fixes for four minor bugs

Michael Sartain lkml 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 0 repliesNew
  2. v15 patches 8 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4trace-cmd: Fix incorrect malloc size arg: *item instead of itemtrace-dialog.c+1 -10 replies
2/4trace-cmd: Fix NULL pointer being passed to memcpytrace-output.c+5 -10 replies
3/4trace-cmd: Add UL suffix to MISSING_EVENTS since ints shouldn't be left shifted by 31kbuffer-parse.c+2 -20 replies
4/4trace-cmd: Use unsigned values in Hsieh's trace_hash fast hash functiontrace-hash-local.h+2 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/4] trace-cmd: Fixes for four minor bugs

Thanks Steve.
-Mike

v2: check malloc size, use UL suffix, and unsigned parameter

Michael Sartain (4):
trace-cmd: Fix incorrect malloc size arg: *item instead of item
trace-cmd: Fix NULL pointer being passed to memcpy
trace-cmd: Add UL suffix to MISSING_EVENTS since ints shouldn't be
left shifted by 31
trace-cmd: Use unsigned values in Hsieh's trace_hash fast hash
function

 kbuffer-parse.c    | 4 ++--
 trace-dialog.c     | 2 +-
 trace-hash-local.h | 4 ++--
 trace-output.c     | 6 +++++-
 4 files changed, 10 insertions(+), 6 deletions(-)
Signature · 1 line
2.14.2