Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107102418
D41652.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
435 B
Referenced Files
None
Subscribers
None
D41652.diff
View Options
diff --git a/sbin/ipf/libipf/parseipfexpr.c b/sbin/ipf/libipf/parseipfexpr.c
--- a/sbin/ipf/libipf/parseipfexpr.c
+++ b/sbin/ipf/libipf/parseipfexpr.c
@@ -93,11 +93,7 @@
break;
}
if (e->ipoe_word == NULL) {
- error = malloc(32);
- if (error != NULL) {
- snprintf(error, sizeof(error), "keyword (%.10s) not found",
- ops);
- }
+ asprintf(&error, "keyword (%.10s) not found", ops);
goto parseerror;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Jan 11, 3:53 AM (14 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15749790
Default Alt Text
D41652.diff (435 B)
Attached To
Mode
D41652: libipf: fix parser error message.
Attached
Detach File
Event Timeline
Log In to Comment