[dev] New Defects reported by Coverity Scan for freerangerouting/frr

scan-admin at coverity.com scan-admin at coverity.com
Mon Oct 9 09:33:34 EDT 2017


Hi,

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

1 new defect(s) introduced to freerangerouting/frr found with Coverity Scan.
3 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 1457695:  API usage errors  (VARARGS)
/lib/csv.c: 288 in csv_encode_record()


________________________________________________________________________________________________________
*** CID 1457695:  API usage errors  (VARARGS)
/lib/csv.c: 288 in csv_encode_record()
282     	csv_field_t *fld = NULL;
283     	int i;
284     
285     	va_start(list, count);
286     	str = csv_field_iter(rec, &fld);
287     	if (!fld)
>>>     CID 1457695:  API usage errors  (VARARGS)
>>>     va_end was not called for "list".
288     		return NULL;
289     	for (tempc = 0; tempc < count; tempc++) {
290     		col = va_arg(list, char *);
291     		for (i = 0; i < fld->field_len; i++) {
292     			str[i] = col[i];
293     		}


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRa7dJ8klHLUFWVd2fqpS-2B-2FHaN43B-2FQ11ntcKmbKat2WeHs8691VOJpZofPkpp-2BRBqc-3D_d-2Fi2nRutHp-2FDWtw8JRg-2Bc1m9CS4-2B5uVbodfDyLsp-2FJnUejaDVwvB6RSmtJaf-2FF0Et-2F1OdgoujMg1RJSc0-2BkEUMPjRTpusMUUC50cMKur0FflbUFrRE6Enf374n3eLeOXMjlJrrk9IenEf4cJvzf1iDSPSrdxCVmj4Le1iV4bS89eVOnsZKdpETn3q5qGrjeTi83Gi2BSfus35FTEbc-2Fr-2BQ-3D-3D

To manage Coverity Scan email notifications for "frr at lists.nox.tf", click https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRbVDbis712qZDP-2FA8y06Nq4lcTWm1Zma8LQDNpOYqrETKrqBiM18kcBcL8b08LzBPOYJYGySZ4Vv7d5QYcnSbGxl3QyORKgEmDxh-2BE2mj6dp1V4JSs2jbMZuLnEQJOW0Z0-3D_d-2Fi2nRutHp-2FDWtw8JRg-2Bc1m9CS4-2B5uVbodfDyLsp-2FJnUejaDVwvB6RSmtJaf-2FF0EF6TiKRxUc-2BBqc01p3ohMXqx9XdQ7zLgXsMGqfqz59KQsRgbgzcMdvFIiO00FjRcgUBgPBt8rQaxO6-2FgnFhRiZOwRzpTFM-2FIZL8M0nrbVLSsLUuktFCa5PSp6hejFVtdWg1Vb1rzDvvAApde7voX2PA-3D-3D




More information about the dev mailing list