SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
15
devel/samurai/patches/patch-parse_c
Normal file
15
devel/samurai/patches/patch-parse_c
Normal file
|
@ -0,0 +1,15 @@
|
|||
CVE-2021-30219
|
||||
https://github.com/michaelforney/samurai/commit/d2af3bc375e2a77139c3a28d6128c60cd8d08655
|
||||
|
||||
Index: parse.c
|
||||
--- parse.c.orig
|
||||
+++ parse.c
|
||||
@@ -42,6 +42,8 @@ parserule(struct scanner *s, struct environment *env)
|
||||
var = scanname(s);
|
||||
parselet(s, &val);
|
||||
ruleaddvar(r, var, val);
|
||||
+ if (!val)
|
||||
+ continue;
|
||||
if (strcmp(var, "command") == 0)
|
||||
hascommand = true;
|
||||
else if (strcmp(var, "rspfile") == 0)
|
Loading…
Add table
Add a link
Reference in a new issue