mbox series

[ndctl,v2,0/5] Address Coverity Scan Defects

Message ID cover.1741304303.git.alison.schofield@intel.com (mailing list archive)
Headers show
Series Address Coverity Scan Defects | expand

Message

Alison Schofield March 6, 2025, 11:50 p.m. UTC
From: Alison Schofield <alison.schofield@intel.com>

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