Hi,
Please find the latest report on new defect(s) introduced to Pike-master found with Coverity Scan.
1 new defect(s) introduced to Pike-master found with Coverity Scan.
New defect(s) Reported-by: Coverity Scan
Showing 1 of 1 defect(s)
** CID 1691882: Null pointer dereferences (FORWARD_NULL)
/home/covbuilder/pike/Pike-v9.1-snapshot/src/post_modules/GI/gi.cmod: 4272 in gpoll_interceptor()
_____________________________________________________________________________________________
*** CID 1691882: Null pointer dereferences (FORWARD_NULL)
/home/covbuilder/pike/Pike-v9.1-snapshot/src/post_modules/GI/gi.cmod: 4272 in gpoll_interceptor()
4266 gpoll_allocated_fds = alloc_fds;
4267 }
4268
4269 for (n = 0; n < gpoll_nfds; n++) {
4270 if (n < nfds) {
4271 int pike_events = gevents_to_pike_events(fds[n].events);
>>> CID 1691882: Null pointer dereferences (FORWARD_NULL)
>>> Dereferencing null pointer "gpoll_fd_boxes".
4272 if (gpoll_fd_boxes[n].fd == fds[n].fd) {
4273 continue;
4274 }
4275 }
4276 /* NB: We must unhook the old boxes where the fds mismatch
4277 * first. Otherwise an old fd box may still be active
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/pike-master?tab=overview