New Defects reported by Coverity Scan for alfred

scan-admin at coverity.com scan-admin at coverity.com
Fri Mar 20 00:36:24 CET 2015


Hi,

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

2 new defect(s) introduced to alfred found with Coverity Scan.


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


** CID 107531:  Insecure data handling  (TAINTED_SCALAR)
/gpsd/alfred-gpsd.c: 72 in gpsd_publish_data()


________________________________________________________________________________________________________
*** CID 107531:  Insecure data handling  (TAINTED_SCALAR)
/gpsd/alfred-gpsd.c: 72 in gpsd_publish_data()
66     	len +=  sizeof(globals->push->header);
67     
68     	alfred_open_sock(globals);
69     	if (globals->unix_sock < 0)
70     		return globals->unix_sock;
71     
>>>     CID 107531:  Insecure data handling  (TAINTED_SCALAR)
>>>     Passing tainted variable "len" to a tainted sink.
72     	ret = write(globals->unix_sock, globals->buf, len);
73     	close(globals->unix_sock);
74     	if (ret < len)
75     		return -1;
76     
77     	return 0;


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/2296?tab=overview

To manage Coverity Scan email notifications for "linux-merge at lists.open-mesh.org", click https://scan.coverity.com/subscriptions/edit?email=linux-merge%40lists.open-mesh.org&token=7ab23214402066d2a5af20dce20c1a31 .



More information about the linux-merge mailing list