Hi,

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

Defect Details

** 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

  

View Defects in Coverity Scan

Best regards,

The Coverity Scan Admin Team