Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F106158815
D47844.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
689 B
Referenced Files
None
Subscribers
None
D47844.id.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D47844: syslogd: Fix issues reported by gcc
Attached
Detach File
Event Timeline
Log In to Comment