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-amd64-kernel



Hi,

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

2 new defect(s) introduced to NetBSD-amd64-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-2Bd2MGckcRb2JZfDAOAZcqzsy8LMBKBj0qtSICo2DZNjmmsVjYof54PahgUQ7xLRwU5wjlAON3Q-3D_XWm3CUIFU8ffmjzuNhQ8cIHoQgXzXkm61Fmjr59D05VJKxfTujb5YdCQI09hkPikMT7a9tNzDYABXTrxWvlj0XwAaoBQzCNVuTkq38PsE4m3gtrwKkHwYaYBn-2FJy78M5oKF-2B-2FAdE5FwYJfEaea01zPvy9a2MvCsde4Z7uluaQ-2BFDHpnuSsMcU64P243mV2dLDYWyjVmqK4Cf4B4xGPjPjSLbr8GeMt9kCDqBZS3pLPA-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_XWm3CUIFU8ffmjzuNhQ8cIHoQgXzXkm61Fmjr59D05VJKxfTujb5YdCQI09hkPikMT7a9tNzDYABXTrxWvlj0Y4MLkatjj9-2BikDnKFn8Y7YXtyBbTBy85eG-2B-2FdrtD28BNaF3Xmrjrx5e0VWSiO-2Bqw6AIPDAsRsLPSZ2xbfJ8-2BRwfDnEpodnFqbJELeb00ne-2B-2BntnPIn0WSVqGmpMPUBs6Sk5r-2BJ2PGCoHs0YZaAz09o-3D



Home | Main Index | Thread Index | Old Index