Page MenuHomeFreeBSD

D47844.id.diff
No OneTemporary

D47844.id.diff

diff --git a/usr.sbin/syslogd/syslogd.c b/usr.sbin/syslogd/syslogd.c
--- a/usr.sbin/syslogd/syslogd.c
+++ b/usr.sbin/syslogd/syslogd.c
@@ -1795,6 +1795,7 @@
iovlist_truncate(il, MaxForwardLen);
#endif
+ lsent = 0;
for (size_t i = 0; i < f->f_num_addr_fds; ++i) {
struct msghdr msg = {
.msg_iov = il->iov,
@@ -2941,7 +2942,6 @@
pri = decode(buf, prioritynames);
if (pri < 0) {
dprintf("unknown priority name \"%s\"", buf);
- free(f);
return (NULL);
}
}
@@ -2965,7 +2965,6 @@
i = decode(buf, facilitynames);
if (i < 0) {
dprintf("unknown facility name \"%s\"", buf);
- free(f);
return (NULL);
}
f->f_pmask[i >> 3] = pri;

File Metadata

Mime Type
text/plain
Expires
Fri, Dec 27, 8:51 AM (2 h, 31 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14949367
Default Alt Text
D47844.id.diff (689 B)

Event Timeline