Coverity-updates archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

New Defects reported by Coverity Scan for NetBSD-i386-kernel



Hi,

Please find the latest report on new defect(s) introduced to NetBSD-i386-kernel found with Coverity Scan.

2 new defect(s) introduced to NetBSD-i386-kernel found with Coverity Scan.
5 defect(s), reported by Coverity Scan earlier, were marked fixed in the recent build analyzed by Coverity Scan.

New defect(s) Reported-by: Coverity Scan
Showing 2 of 2 defect(s)


** CID 1374145:  Control flow issues  (MISSING_BREAK)
/sys/kern/sys_process.c: 959 in do_ptrace()


________________________________________________________________________________________________________
*** CID 1374145:  Control flow issues  (MISSING_BREAK)
/sys/kern/sys_process.c: 959 in do_ptrace()
953     
954     #ifdef PT_SETFPREGS
955     	case  PT_SETFPREGS:
956     		write = 1;
957     #endif
958     #ifdef PT_GETFPREGS
>>>     CID 1374145:  Control flow issues  (MISSING_BREAK)
>>>     The above case falls through to this one.
959     	case  PT_GETFPREGS:
960     		/* write = 0 done above. */
961     #endif
962     #if defined(PT_SETFPREGS) || defined(PT_GETFPREGS)
963     		tmp = data;
964     		if (tmp != 0 && t->p_nlwps > 1) {

** CID 1374146:  Control flow issues  (MISSING_BREAK)
/sys/kern/sys_process.c: 916 in do_ptrace()


________________________________________________________________________________________________________
*** CID 1374146:  Control flow issues  (MISSING_BREAK)
/sys/kern/sys_process.c: 916 in do_ptrace()
910     
911     #ifdef PT_SETREGS
912     	case  PT_SETREGS:
913     		write = 1;
914     #endif
915     #ifdef PT_GETREGS
>>>     CID 1374146:  Control flow issues  (MISSING_BREAK)
>>>     The above case falls through to this one.
916     	case  PT_GETREGS:
917     		/* write = 0 done above. */
918     #endif
919     #if defined(PT_SETREGS) || defined(PT_GETREGS)
920     		tmp = data;
921     		if (tmp != 0 && t->p_nlwps > 1) {


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRb2JZfDAOAZcqzsy8LMBKBjEGdxS-2FDDouPkeZ4HbDca3C30UoLW748TLKQM-2BXRpGRc-3D_XWm3CUIFU8ffmjzuNhQ8cIHoQgXzXkm61Fmjr59D05VU5KSh6yBGY3AoXgnIJo-2BZ95EG0C0KzzIJCnkSPn-2F8RtRqPftEmjvn8Cz3SizC8p5pGaPfeiu4zcoBo9FRD7xwWR1R3NQrSPeoyFkN-2FV-2FeFlthw3Rudyir10E5XYUSjnjVd5zch5lvIJdBRfqAXhGn6DY9T67BkbRB9dm91Zhgp453jxbmboZg6QSB3qlThiQ-3D

To manage Coverity Scan email notifications for "coverity-updates%netbsd.org@localhost", click https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRbVDbis712qZDP-2FA8y06Nq4m7U7Yoel-2F6MYPxol7ToiLwYIjoNbVQOCAwEeTNJofEDwTlN0JRhKMyijhpnAObR-2FlLVG-2Fr3EBKWgiICNdX1HPA6Ws0-2F1wHBf2tG9AnMDB8g-3D_XWm3CUIFU8ffmjzuNhQ8cIHoQgXzXkm61Fmjr59D05VU5KSh6yBGY3AoXgnIJo-2BZ95EG0C0KzzIJCnkSPn-2F8RmXd2Z5FPjfkyTTi3b0NID-2FbqGu-2Bx0moY6cRZD51Aqx-2B74W7yBqi43D9dDCjS-2Fhz6DdYQ1C0ard-2FUiN4IpTMv3NOZxB3EBW1V17GvcPAXyl9V3hLtTPHpMUCWEV69rOSl6H6URkIgKDDlT6Ly5qPnhc-3D



Home | Main Index | Thread Index | Old Index