[dev] New Defects reported by Coverity Scan for freerangerouting/frr
scan-admin at coverity.com
scan-admin at coverity.com
Fri Jun 22 14:53:19 EDT 2018
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.
28 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 1470150: Null pointer dereferences (NULL_RETURNS)
/lib/command.c: 2474 in command_setup_early_logging()
________________________________________________________________________________________________________
*** CID 1470150: Null pointer dereferences (NULL_RETURNS)
/lib/command.c: 2474 in command_setup_early_logging()
2468 if (strcmp(dest, "syslog") == 0) {
2469 zlog_set_level(ZLOG_DEST_SYSLOG, zlog_default->default_lvl);
2470 return;
2471 }
2472
2473 token = strstr(dest, ":");
>>> CID 1470150: Null pointer dereferences (NULL_RETURNS)
>>> Incrementing a pointer which might be null: "token".
2474 token++;
2475
2476 set_log_file(NULL, token, zlog_default->default_lvl);
2477 }
2478
2479 DEFUN (config_log_file,
________________________________________________________________________________________________________
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-2FJlEgF26LneSSDI2t-2BlLoTgafgBH8WL8Nxvu0Rvb3Y6Z-2B-2F2iNXMs-2BsIU1ehEepJvf0PpyH9hIrnq9VgAe1NKqUrqQW5-2F-2F3sFlV9-2FWozLNRpbkwWkRiDRc-2FYgdlOhtV9S6whVjxV9X9OJqa4K1WMC7eBJujgboYba53hokodkMcf8-2BA-3D-3D
More information about the dev
mailing list