gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fw: New Defects reported by Coverity Scan for gpsd-gitlab


From: Gary E. Miller
Subject: Fw: New Defects reported by Coverity Scan for gpsd-gitlab
Date: Mon, 25 Jan 2021 12:10:38 -0800

Yo All!

"New" coverity defects in gpsd.  In gpsmon/driver_ubx.c.

I tried, and failed, to find the relevant commit.

See below.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        gem@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:

Date: Sun, 24 Jan 2021 04:40:25 +0000 (UTC)
From: scan-admin@coverity.com
To: gem@rellim.com
Subject: New Defects reported by Coverity Scan for gpsd-gitlab


Hi,

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.
1 defect(s), reported by Coverity Scan earlier, were marked fixed in
the recent build analyzed by Coverity Scan.

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


** CID 316451:    (UNINIT)
/gpsd-3.22.1~dev/gpsmon/monitor_ubx.c: 242 in display_nav_sol()
/gpsd-3.22.1~dev/gpsmon/monitor_ubx.c: 242 in display_nav_sol()
/gpsd-3.22.1~dev/gpsmon/monitor_ubx.c: 273 in display_nav_sol()
/gpsd-3.22.1~dev/gpsmon/monitor_ubx.c: 242 in display_nav_sol()


________________________________________________________________________________________________________
*** CID 316451:    (UNINIT)
/gpsd-3.22.1~dev/gpsmon/monitor_ubx.c: 242 in display_nav_sol()
236         (void)wattrset(navsolwin, A_UNDERLINE);
237         (void)wprintw(navsolwin, "%12.9f  %13.9f  %8.2fm",
238                       g.fix.latitude, g.fix.longitude,
g.fix.altHAE); 239         (void)mvwaddch(navsolwin, 4, 23, ACS_DEGREE);
240         (void)mvwaddch(navsolwin, 4, 38, ACS_DEGREE);
241         (void)wmove(navsolwin, 5, 11);
>>>     CID 316451:    (UNINIT)
>>>     Using uninitialized value "g.fix.climb" when calling "wprintw".
>>>  
242         (void)wprintw(navsolwin, "%6.2fm/s %5.1fo %6.2fm/s",
243                       g.fix.speed, g.fix.track, g.fix.climb);
244         (void)mvwaddch(navsolwin, 5, 26, ACS_DEGREE);
245         (void)wattrset(navsolwin, A_NORMAL);
246     
247         (void)wmove(navsolwin, 7, 7);
/gpsd-3.22.1~dev/gpsmon/monitor_ubx.c: 242 in display_nav_sol()
236         (void)wattrset(navsolwin, A_UNDERLINE);
237         (void)wprintw(navsolwin, "%12.9f  %13.9f  %8.2fm",
238                       g.fix.latitude, g.fix.longitude,
g.fix.altHAE); 239         (void)mvwaddch(navsolwin, 4, 23, ACS_DEGREE);
240         (void)mvwaddch(navsolwin, 4, 38, ACS_DEGREE);
241         (void)wmove(navsolwin, 5, 11);
>>>     CID 316451:    (UNINIT)
>>>     Using uninitialized value "g.fix.speed" when calling "wprintw".
>>>  
242         (void)wprintw(navsolwin, "%6.2fm/s %5.1fo %6.2fm/s",
243                       g.fix.speed, g.fix.track, g.fix.climb);
244         (void)mvwaddch(navsolwin, 5, 26, ACS_DEGREE);
245         (void)wattrset(navsolwin, A_NORMAL);
246     
247         (void)wmove(navsolwin, 7, 7);
/gpsd-3.22.1~dev/gpsmon/monitor_ubx.c: 273 in display_nav_sol()
267         }
268     
269         /* relies on the fact that epx and epy are set to same
value */ 270         (void)wmove(navsolwin, 10, 12);
271         (void)wprintw(navsolwin, "%7.2f", g.fix.epx);
272         (void)wmove(navsolwin, 10, 33);
>>>     CID 316451:    (UNINIT)
>>>     Using uninitialized value "g.fix.epv" when calling "wprintw".  
273         (void)wprintw(navsolwin, "%6.2f", g.fix.epv);
274         (void)wmove(navsolwin, 11, 7);
275         (void)wprintw(navsolwin, "%2d", g.satellites_used);
276         (void)wmove(navsolwin, 11, 15);
277         (void)wprintw(navsolwin, "%5.1f", g.dop.pdop);
278         (void)wmove(navsolwin, 11, 25);
/gpsd-3.22.1~dev/gpsmon/monitor_ubx.c: 242 in display_nav_sol()
236         (void)wattrset(navsolwin, A_UNDERLINE);
237         (void)wprintw(navsolwin, "%12.9f  %13.9f  %8.2fm",
238                       g.fix.latitude, g.fix.longitude,
g.fix.altHAE); 239         (void)mvwaddch(navsolwin, 4, 23, ACS_DEGREE);
240         (void)mvwaddch(navsolwin, 4, 38, ACS_DEGREE);
241         (void)wmove(navsolwin, 5, 11);
>>>     CID 316451:    (UNINIT)
>>>     Using uninitialized value "g.fix.track" when calling "wprintw".
>>>  
242         (void)wprintw(navsolwin, "%6.2fm/s %5.1fo %6.2fm/s",
243                       g.fix.speed, g.fix.track, g.fix.climb);
244         (void)mvwaddch(navsolwin, 5, 26, ACS_DEGREE);
245         (void)wattrset(navsolwin, A_NORMAL);
246     
247         (void)wmove(navsolwin, 7, 7);


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit,
https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yqNJDICWpx21HRhfIOfqp5jVIanDcsgKId5TQLLVy3HWNFDyIwNJawxMM3-2BO59tiRg-3DHVLW_V4vXdTh-2BxT-2BxCKbyFfrSoJFjJZozXY-2FZdu0QaB3Kqf6HDrveKWYplrFUVvwopKS32Xe9NpsZP5SvhHAf19wCEj6yuWAR2zQIkLgoMY0XRZsqJpuB9CFk9WJtRm0ftgftwPyQ4o3yviQCLzFtJDv5FQ1aBzXvELRwYyGA-2FazAIazw048Nl9s1WjKvp78gpNlJZAYzuJ3cJh3FS2ZN7M8aGQ-3D-3D

  To manage Coverity Scan email notifications for "gem@rellim.com",
  click
  
https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yped04pjJnmXOsUBtKYNIXx7Tfqjjbls0cEjccfNLTtXEyJGZ4VdMsA5BAyVQQG3-2BhiayktbDtQ9xydmCGCqXM-2FiCfaecVOZTo8suXWaB1cwto7f0wTnlZytc1QYkzBIo8-3DgeUy_V4vXdTh-2BxT-2BxCKbyFfrSoJFjJZozXY-2FZdu0QaB3Kqf6HDrveKWYplrFUVvwopKS3JFLfjJJ-2FLAfTtEZ-2BOICKzSLu156hFhaUFTj1Cjr-2Bcbw81smxse7HpcVT36aEnPfhkYyWyf4K-2B7K9kYBCYl8WAWG3qbN2chMI9kVjbJiKQc-2FgJQQ-2FN9cED-2BKaUp7ZWvyVPqQ-2BQOcLYzC6F-2FBF-2Fs1gCQ-3D-3D




RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        gem@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

Attachment: pgpBcF6zBKUDv.pgp
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]