Vendor fix: initialize the flag field of a newly created node to be 0.
Submitted by: jasone
This commit is contained in:
parent
d4199d75a1
commit
2a9284a7c0
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/vendor/bsnmp/dist/; revision=154182
@ -353,6 +353,7 @@ parse(enum tok tok)
|
||||
|
||||
node = xalloc(sizeof(struct node));
|
||||
node->lno = lno;
|
||||
node->flags = 0;
|
||||
|
||||
if (tok != '(')
|
||||
report("'(' expected at begin of node");
|
||||
|
Loading…
Reference in New Issue
Block a user