Page MenuHomeFreeBSD

D41652.diff
No OneTemporary

D41652.diff

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

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)

Event Timeline