Yo All! Another coverity found defect. See below.
RGDS GARY --------------------------------------------------------------------------- Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703 g...@rellim.com Tel:+1 541 382 8588 Veritas liberabit vos. -- Quid est veritas? "If you can't measure it, you can't improve it." - Lord Kelvin Begin forwarded message: Please find the latest report on new defect(s) introduced to gpsd-gitlab found with Coverity Scan. 1 new defect(s) introduced to gpsd-gitlab found with Coverity Scan. New defect(s) Reported-by: Coverity Scan Showing 1 of 1 defect(s) ** CID 349687: (PW.PRINTF_ARG_MISMATCH) /gpsd-3.23.2~dev/gpsd/gpsd.c: 619 in () /gpsd-3.23.2~dev/gpsd/gpsd.c: 627 in () ________________________________________________________________________________________________________ *** CID 349687: (PW.PRINTF_ARG_MISMATCH) /gpsd-3.23.2~dev/gpsd/gpsd.c: 619 in () 613 const size_t len) 614 { 615 ssize_t status; 616 617 if (LOG_CLIENT <= context.errout.debug) { 618 if (isprint((unsigned char) buf[0])) { >>> CID 349687: (PW.PRINTF_ARG_MISMATCH) >>> argument is incompatible with corresponding format string >>> conversion 619 GPSD_LOG(LOG_CLIENT, &context.errout, 620 "=> client(%d) len %d: %s\n", sub_index(sub), len, buf); 621 } else { 622 char *cp, buf2[MAX_PACKET_LENGTH * 3]; 623 buf2[0] = '\0'; 624 for (cp = buf; cp < buf + len; cp++) /gpsd-3.23.2~dev/gpsd/gpsd.c: 627 in () 621 } else { 622 char *cp, buf2[MAX_PACKET_LENGTH * 3]; 623 buf2[0] = '\0'; 624 for (cp = buf; cp < buf + len; cp++) 625 str_appendf(buf2, sizeof(buf2), 626 "%02x", (unsigned int)(*cp & 0xff)); >>> CID 349687: (PW.PRINTF_ARG_MISMATCH) >>> argument is incompatible with corresponding format string >>> conversion 627 GPSD_LOG(LOG_CLIENT, &context.errout, 628 "=> client(%d) len %d: =%s\n", sub_index(sub), len, buf2); 629 } 630 } 631 632 gpsd_acquire_reporting_lock(); ________________________________________________________________________________________________________ To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yqNJDICWpx21HRhfIOfqp5jVIanDcsgKId5TQLLVy3HWNFDyIwNJawxMM3-2BO59tiRg-3DMyYq_V4vXdTh-2BxT-2BxCKbyFfrSoP7IYJKibTqYyKHgATb-2BpYbnITUgveY1WKmGRsYE8gafeSwWnnXlKe2i04VpFDDzYqCW3hlHlWntHSDDejFExKJ3t3LOgen0VNlO1EfPGxkK8ffkBOMQKC3r-2FpNjAOLKQX4AkYahg3jxH2O3-2FTzwgd0q3zti3rPdnAQhPYTJP2hLBREoajSDn6HNGvvg5hM8rg-3D-3D To manage Coverity Scan email notifications for "g...@rellim.com", click https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yped04pjJnmXOsUBtKYNIXx7Tfqjjbls0cEjccfNLTtXEyJGZ4VdMsA5BAyVQQG3-2BhiayktbDtQ9xydmCGCqXM-2FiCfaecVOZTo8suXWaB1cwto7f0wTnlZytc1QYkzBIo8-3Dqhn5_V4vXdTh-2BxT-2BxCKbyFfrSoP7IYJKibTqYyKHgATb-2BpYbnITUgveY1WKmGRsYE8gafuxBrFQwxxPdHVmWElGyEVAvTWP8dw0uXVX3XDdxmKM2TaEQwKXf22nE8zmP8zGCb3UonhuS-2BW7t7zJy4Pjqw0d99ob39Xc60khmVRqZv-2FO-2BhXn4sAvEXyR1lxJZAP6PfolubCQEOh2cp1QOTzol8AA-3D-3D RGDS GARY --------------------------------------------------------------------------- Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703 g...@rellim.com Tel:+1 541 382 8588 Veritas liberabit vos. -- Quid est veritas? "If you can't measure it, you can't improve it." - Lord Kelvin
pgpulu1OqhAaV.pgp
Description: OpenPGP digital signature
_______________________________________________ devel mailing list devel@ntpsec.org https://lists.ntpsec.org/mailman/listinfo/devel