xenstore: Address coverity issues in the LiveUpdate code
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 9 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | tools/xenstored: Avoid unnecessary talloc_strdup() in do_control_lu()tools/ | +1 | 1 reply | |
| 2/5 | tools/xenstored: Avoid unnecessary talloc_strdup() in do_lu_start()tools/ | +1 | 1 reply | |
| 3/5 | tools/xenstored: control: Store the save filename in lu_dump_statetools/ | +9 | 1 reply | |
| 4/5 | tools/xenstore-control: Don't leak buf in live_update_start()tools/ | +3 | 1 reply | |
| 5/5 | tools/xenstored: Silence coverity when using xs_state_* structurestools/ | +3 | 5 replies |
Reviews trailers per patch
4 of 5 patches have a Reviewed-by or Acked-by.
| Patch | Ian Jackson | Juergen Gross |
|---|---|---|
| Series | Release-Acked-by | |
| 1/5 | R-b | |
| 2/5 | R-b | |
| 3/5 | R-b | |
| 4/5 | R-b | |
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH for-4.15 0/5] xenstore: Address coverity issues in the LiveUpdate code
From: Julien Grall <[email protected]>
Hi all,
The AWS coverity instance spotted a few issues that could either leak memory and derefence NULL pointer.
All the patches are candidate for 4.15 as they are hardening XenStored code. The changes are low risks.
Cheers,
Julien Grall (5):
tools/xenstored: Avoid unnecessary talloc_strdup() in do_control_lu() tools/xenstored: Avoid unnecessary talloc_strdup() in do_lu_start() tools/xenstored: control: Store the save filename in lu_dump_state tools/xenstore-control: Don't leak buf in live_update_start() tools/xenstored: Silence coverity when using xs_state_* structures
tools/xenstore/include/xenstore_state.h | 6 +++--- tools/xenstore/xenstore_control.c | 4 +++- tools/xenstore/xenstored_control.c | 26 +++++++++++-------------- 3 files changed, 17 insertions(+), 19 deletions(-)
Signature · 1 line
2.17.1