[PATCH 0/3] UBUNTU: SAUCE: opennsl: fix static analysis issues

Colin King colin.king at canonical.com
Wed Sep 20 10:27:04 UTC 2017


From: Colin Ian King <colin.king at canonical.com>

Static analysis with CoverityScan on the opennsl driver has picked up 2
sets of bugs and some redundant code. The following 3 patches address
these issues to make the driver static analysis clean.

BugLink: https://launchpad.net/bugs/1718388

Colin Ian King (3):
  opennsl: bcm-knet: check for null sinfo to avoid a null pointer
    dereference
  opennsl: bcm-knet: remove redundant null checks on dev->name
  opennsl: bde: check for out-of-bounds index io.dev

 .../systems/bde/linux/user/kernel/linux-user-bde.c | 42 ++++++++++++++++++++++
 .../linux/kernel/modules/bcm-knet/bcm-knet.c       |  7 ++--
 2 files changed, 46 insertions(+), 3 deletions(-)

-- 
2.7.4





More information about the kernel-team mailing list