New Defects based on recent changes in Kernel code found by Coverity Scan

Hi,

Based on several requests to test the recent changes to the Linux Kernel for any new defects, that may have been introduced, using Coverity SCAN, we have the results and we would share them with the larger community. To date we have found a total of 27 new defects based on changes made in the last THREE weeks. Below you can find the full summary and details of defects found including the source code snippet.

We will share this information weekly and include the list of new defects found by Coverity SCAN. You can also view the details of the defects by logging into SCAN http://scan5.coverity.com:8080

____________________________________________________________________________________________________________Summary of Defects: * CID 703583: Out-of-bounds access (OVERRUN_STATIC) - Array of uint16_t mb[4], is being accessed as mb[1],mb[2],mb[3],mb[4], instead of index from 0 to 3drivers/scsi/qla2xxx/qla_isr.c:92drivers/scsi/qla2xxx/qla_target.c:4045

* CID 709112: Dereference after null check - fs/btrfs/ioctl.c, line: 1309 Comparing "device->fs_devices" to null implies that "device->fs_devices" might be null, and then it is deferencefs/btrfs/ioctl.c:1309

____________________________________________________________________________________________________________To View the defect in Coverity Scan visit, http://scan5.coverity.com:8080Your username is usually your first part of your email address.If you don't have a username, you can request one by emailing: scan-admin@coverity.com

____________________________________________________________________________________________________________Details of Defect:-____________________________________________________________________________________________________________CID 703583: Out-of-bounds access (OVERRUN_STATIC) - Array of uint16_t mb[4], is being accessed as mb[1],mb[2],mb[3],mb[4], instead of index from 0 to 3