Skip to content

Code analysis fixes

Norbert Manthey xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 24 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10xenstore: add missing NULL checktools/xenstore/xenstored_core.c+4 -02 replies
2/10xenstore: fix print format stringtools/xenstore/xs_tdb_dump.c+3 -32 replies
3/10xenstore: check formats of tracetools/xenstore/xenstored_core.h+1 -12 replies
4/10xenstore_client: handle memory on errortools/xenstore/xenstore_client.c+3 -02 replies
5/10xenstore: handle daemon creation errorstools/xenstore/xenstored_core.c+3 -02 replies
6/10xenstored: handle port reads correctlytools/xenstore/xenstored_posix.c+5 -14 replies
7/10xenstore: handle do_mkdir and do_rm failuretools/xenstore/xenstored_core.c+4 -02 replies
8/10xenstore: add missing NULL checktools/xenstore/xenstored_core.c+5 -02 replies
9/10xs: handle daemon socket errortools/libs/store/xs.c+3 -04 replies
10/10xs: add error handlingtools/libs/store/xs.c+6 -14 replies

Reviews trailers per patch

All 10 patches have a Reviewed-by or Acked-by.

PatchThomas FriebelJulien GrallRaphael NingJuergen GrossIan Jackson
1/10R-b R-b R-b Release-Acked-by
2/10R-b R-b R-b Release-Acked-by
3/10R-b R-b R-b Release-Acked-by
4/10R-b R-b R-b
5/10R-b R-b R-b
6/10R-b R-b
7/10R-b R-b R-b Release-Acked-by
8/10R-b R-b R-b Release-Acked-by
9/10R-b R-b R-b
10/10R-b R-b R-b Release-Acked-by

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.

Read the v1 thread

Cover letter [PATCH XENSTORE v1 00/10] Code analysis fixes

Dear all,

we have been running some code analysis tools on the xenstore code, and triaged the results. This series presents the robustness fixes we identified.

Best,
Norbert

Michael Kurth (1):
xenstore: add missing NULL check

Norbert Manthey (9):
xenstore: add missing NULL check
xenstore: fix print format string
xenstore: check formats of trace
xenstore_client: handle memory on error
xenstore: handle daemon creation errors
xenstored: handle port reads correctly
xenstore: handle do_mkdir and do_rm failure
xs: handle daemon socket error
xs: add error handling

 tools/libs/store/xs.c            | 10 +++++++++-
 tools/xenstore/xenstore_client.c |  3 +++
 tools/xenstore/xenstored_core.c  | 16 ++++++++++++++++
 tools/xenstore/xenstored_core.h  |  2 +-
 tools/xenstore/xenstored_posix.c |  6 +++++-
 tools/xenstore/xs_tdb_dump.c     |  6 +++---
 6 files changed, 37 insertions(+), 6 deletions(-)
Signature · 12 lines
2.17.1




Amazon Development Center Germany GmbH
Krausenstr. 38
10117 Berlin
Geschaeftsfuehrung: Christian Schlaeger, Jonathan Weiss
Eingetragen am Amtsgericht Charlottenburg unter HRB 149173 B
Sitz: Berlin
Ust-ID: DE 289 237 879