New Defects reported by Coverity Scan for libvirt

scan-admin at coverity.com scan-admin at coverity.com
Fri Aug 25 05:25:16 UTC 2023


Hi,

Please find the latest report on new defect(s) introduced to libvirt found with Coverity Scan.

1 new defect(s) introduced to libvirt found with Coverity Scan.


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


** CID 416608:  Control flow issues  (UNREACHABLE)
/src/util/virfile.c: 191 in virCloseRangeImpl()


________________________________________________________________________________________________________
*** CID 416608:  Control flow issues  (UNREACHABLE)
/src/util/virfile.c: 191 in virCloseRangeImpl()
185                       unsigned int last G_GNUC_UNUSED)
186     {
187     #if defined(WITH_SYS_SYSCALL_H) && defined(__NR_close_range)
188         return syscall(__NR_close_range, first, last, 0);
189     #endif
190     
>>>     CID 416608:  Control flow issues  (UNREACHABLE)
>>>     This code cannot be reached: "*__errno_location() = 38;".
191         errno = ENOSYS;
192         return -1;
193     }
194     
195     
196     static void


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yqXyKjvBooc6PgQklkMPQjdETL0zD-2BwwS2MT3CUz0PGk4uLnDSo8-2B2mZ3lSeSytwjA-3DYj6l_CkO38-2FnXVYPAlDbR1ZxdHNqvqoSWeUuqu9763V-2FVMwxO62cFv5b8aJGEGM8TkVGADgSOz2CSFBc-2Bbz3e6Fcn06vduaGYcw5nAC4-2B-2B1LmbfIdQHP-2FqvBAGjw-2FBRv9VvtJoCsOz6ae4HD8CBL3MARSim-2FZAUjDdoxwGZ66HMMT7vTRXPsAHDyxvUfBkbh1VCruwih90bN8kh4CnFSiujQyDg-3D-3D



More information about the Libvirt-ci mailing list