Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144639641
D17507.1775963251.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
533 B
Referenced Files
None
Subscribers
None
D17507.1775963251.diff
View Options
Index: head/sbin/pfctl/parse.y
===================================================================
--- head/sbin/pfctl/parse.y
+++ head/sbin/pfctl/parse.y
@@ -4408,7 +4408,7 @@
$$ = calloc(1, sizeof(struct node_host));
if ($$ == NULL)
err(1, "route_host: calloc");
- $$->ifname = $1;
+ $$->ifname = strdup($1);
set_ipmask($$, 128);
$$->next = NULL;
$$->tail = $$;
@@ -4418,7 +4418,7 @@
$$ = $3;
for (n = $3; n != NULL; n = n->next)
- n->ifname = $2;
+ n->ifname = strdup($2);
}
;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Apr 12, 3:07 AM (13 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28328143
Default Alt Text
D17507.1775963251.diff (533 B)
Attached To
Mode
D17507: pfctl: Dup strings
Attached
Detach File
Event Timeline
Log In to Comment