Fwd: New Defects reported by Coverity Scan for ntpsec

Mark Atwood mark.atwood at ntpsec.org
Wed Jun 7 03:40:43 UTC 2017


----- Original message -----
From: scan-admin at coverity.com
Subject: New Defects reported by Coverity Scan for ntpsec
Date: Tue, 06 Jun 2017 15:06:19 -0700


Hi,

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

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


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


** CID 164518:    (VARARGS)
/libisc/error.c: 31 in isc_error_unexpected()
/libisc/error.c: 39 in isc_error_unexpected()


________________________________________________________________________________________________________
*** CID 164518:    (VARARGS)
/libisc/error.c: 31 in isc_error_unexpected()
25      char errbuf[256];
26      static int unexpected_error_cnt = 0;
27     
28      va_start(args, format);
29     
30      if (unexpected_error_cnt >= MAX_UNEXPECTED_ERRORS)
>>>     CID 164518:    (VARARGS)
>>>     va_end was not called for "args".
31              return; /* avoid clutter in log */
32     
33      msyslog(LOG_ERR, "%s:%d: unexpected error:", file, line);
34      vsnprintf(errbuf, sizeof(errbuf), format, args);
35      msyslog(LOG_ERR, "%s", errbuf);
36     
37      if (++unexpected_error_cnt == MAX_UNEXPECTED_ERRORS)
38              msyslog(LOG_ERR, "Too many errors.  Shutting up.");
/libisc/error.c: 39 in isc_error_unexpected()
33      msyslog(LOG_ERR, "%s:%d: unexpected error:", file, line);
34      vsnprintf(errbuf, sizeof(errbuf), format, args);
35      msyslog(LOG_ERR, "%s", errbuf);
36     
37      if (++unexpected_error_cnt == MAX_UNEXPECTED_ERRORS)
38              msyslog(LOG_ERR, "Too many errors.  Shutting up.");
>>>     CID 164518:    (VARARGS)
>>>     va_end was not called for "args".


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit,
https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRaciFpIUwPZI-2Fd-2FFHWJ2pO-2Fd2R8mjOSXjO4mfMZb3eoig-3D-3D_w2FF8AYzKpBRjzA7UjULRUPBwnqYRQu4vsrZcGe8M1E58y8ueCmtep-2BJJCB6GCX-2F1lXrObn2teBdcw2-2FMZ8GVc50Q6Nh8y3bbqjVtn2bu2LAy6UVglpyB6c9Zmcc2s54Wl-2FuGA31qx8idrkcCWVtqVJ0BJtjrngWLDmEe4TWkNzdh9CQQw79Ig5atW8GzRdj4WzRBiGIjP6aUcUltUNblov2S9QePlbPAwcjVNb-2BgPE-3D

To manage Coverity Scan email notifications for "me at mark.atwood.name",
click
https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRbVDbis712qZDP-2FA8y06Nq4Vp7-2BrS139Us2-2Bc0cUP4m1FXTBMtbRIlyBBRBlV54D0t0NP3dLzlgVMJhtVR8EEORdb1j00NTRLd5XDYZ7LdU32kE0zwp1gSq4km8aiElwOU-3D_w2FF8AYzKpBRjzA7UjULRUPBwnqYRQu4vsrZcGe8M1E58y8ueCmtep-2BJJCB6GCX-2Fio6P1o79pt61iKa-2BE-2BhsGbV0A-2BX2zhMQTolXzLxMrUDvmamRMc7QG6UKRec-2BpEoCHehr37J0tkYzqEzfD8wvIXp3hkpzQRMEKSA3MFtE2W71ASMZJ-2FCjARRCWNjBdR8nDKjdOXrx3-2BqQsVYuZVhMuzJHnCwDNQ7t9B09Uv5liSk-3D



More information about the devel mailing list