Address Coverity Scan Defects
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest5 patches 1 replyIn review
- v15 patches 6 repliesSuperseded
Changes in v2 from the cover letter
1/5: Put back deleted whitespace (DaveJ)
s/maximimum/maximum
3/5: Move slot++ to for loop header (DaveJ)
Update commit log to match
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | ndctl/namespace: avoid integer overflow in namespace validationndctl/ | +7 | 0 replies | |
| 2/5 | ndctl/namespace: close file descriptor in do_xaction_namespace()ndctl/ | +8 | 0 replies | |
| 3/5 | ndctl/dimm: do not increment a ULLONG_MAX slot valuendctl/ | +2 | 1 reply | |
| 4/5 | ndctl/namespace: protect against overflow handling param.offsetndctl/ | +8 | 0 replies | |
| 5/5 | ndctl/namespace: protect against under|over-flow w bad param.alignndctl/ | +5 | 0 replies |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Dave Jiang |
|---|---|
| 1/5 | R-b |
| 2/5 | R-b |
| 3/5 | R-b |
| 4/5 | R-b |
| 5/5 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [ndctl PATCH v2 0/5] Address Coverity Scan Defects
From: Alison Schofield <[email protected]>
Changes in v2:
1/5: Put back deleted whitespace (DaveJ)
s/maximimum/maximum
3/5: Move slot++ to for loop header (DaveJ)
Update commit log to match
The NDCTL project routinely addresses any and all coverity defects before each release. This new set of reports suggests enhancements to the scan capabilities since none of this code has been touched recently. Game on, we'll squash 'em!
Alison Schofield (5):
ndctl/namespace: avoid integer overflow in namespace validation ndctl/namespace: close file descriptor in do_xaction_namespace() ndctl/dimm: do not increment a ULLONG_MAX slot value ndctl/namespace: protect against overflow handling param.offset ndctl/namespace: protect against under|over-flow w bad param.align
ndctl/dimm.c | 5 ++--- ndctl/namespace.c | 36 ++++++++++++++++++++++++++++-------- 2 files changed, 30 insertions(+), 11 deletions(-)
base-commit: d2c55938a0c7308cba07cb23b598df1be93f1d38
Signature · 1 line
2.37.3