Hi,
Please find the latest report on new defect(s) introduced to alfred found with Coverity Scan.
1 new defect(s) introduced to alfred found with Coverity Scan.
New defect(s) Reported-by: Coverity Scan
Showing 1 of 1 defect(s)
** CID 352633: Error handling issues (CHECKED_RETURN)
/server.c: 402 in sync_period_timer()
________________________________________________________________________________________________________
*** CID 352633: Error handling issues (CHECKED_RETURN)
/server.c: 402 in sync_period_timer()
396 struct epoll_handle *handle __unused,
397 struct epoll_event *ev __unused)
398 {
399 struct timespec now;
400 uint64_t timer_exp;
401
>>> CID 352633: Error handling issues (CHECKED_RETURN)
>>> "read(int, void *, size_t)" returns the number of bytes read, but it is ignored.
402 read(globals->check_timerfd, &timer_exp, sizeof(timer_exp));
403 clock_gettime(CLOCK_MONOTONIC, &now);
404
405 if (globals->opmode == OPMODE_PRIMARY) {
406 /* we are a primary */
407 printf("[%ld.%09ld] announce primary ...\n",
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P…