Skip to content

Fix several Coverity andf Clang warnings in libtraceevent

Michael Petlan linux-trace-devel 1 version Applied

Status from this message: Applied. Thanks Michael!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3libtraceevent: Fix uninitialized has_0x compiler warningsrc/event-parse.c+1 -10 replies
2/3libtraceevent: Fix check-after-deref coverity flawsrc/event-parse.c+4 -40 replies
3/3libtraceevent: Fix Branch condition garbage value compiler warningsrc/event-parse.c+2 -20 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/3] Fix several Coverity andf Clang warnings in libtraceevent

Hello.

When rebasing to libtraceevent-1.5.3 in RHEL, Coverity has found some issues. I have tried to fix them. Could you please have a look at the patches attached?

Thank you.

Michael

Michael Petlan (3):
libtraceevent: Fix uninitialized has_0x compiler warning
libtraceevent: Fix check-after-deref coverity flaw
libtraceevent: Fix Branch condition garbage value compiler warning

 src/event-parse.c | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
Signature · 1 line
2.18.4