Coverity-updates archive

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

New Defects reported by Coverity Scan for NetBSD-i386-user



Hi,

Please find the latest report on new defect(s) introduced to NetBSD-i386-user found with Coverity Scan.

1 new defect(s) introduced to NetBSD-i386-user found with Coverity Scan.
8 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 980936:  Memory - illegal accesses  (USE_AFTER_FREE)
/usr.sbin/syslogd/syslogd.c: 3188 in read_config_file()


________________________________________________________________________________________________________
*** CID 980936:  Memory - illegal accesses  (USE_AFTER_FREE)
/usr.sbin/syslogd/syslogd.c: 3188 in read_config_file()
3182     				if (credhead) do {
3183     					if(!(cred = malloc(sizeof(*cred)))) {
3184     						logerror("Unable to "
3185     							"allocate memory");
3186     						break;
3187     					}
>>>     CID 980936:  Memory - illegal accesses  (USE_AFTER_FREE)
>>>     Using freed pointer "tmp_buf".
3188     					cred->data = tmp_buf;
3189     					tmp_buf = NULL;
3190     					SLIST_INSERT_HEAD(credhead,
3191     						cred, entries);
3192     				} while /* additional values? */
3193     					(copy_config_value_word(&tmp_buf, &p));


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

To manage Coverity Scan email notifications for "coverity-updates%netbsd.org@localhost", click https://scan.coverity.com/subscriptions/edit?email=coverity-updates%40netbsd.org&token=487286ca1a9a4f4bd485d16f66b5e782 .



Home | Main Index | Thread Index | Old Index