mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
As in with ":", check dictionary space and increase it if necessary before
"create".
This commit is contained in:
parent
96fc36290a
commit
66bd171e5f
1 changed files with 2 additions and 0 deletions
|
|
@ -2306,6 +2306,8 @@ static void create(FICL_VM *pVM)
|
|||
FICL_DICT *dp = ficlGetDict();
|
||||
STRINGINFO si = vmGetWord(pVM);
|
||||
|
||||
dictCheckThreshold(dp);
|
||||
|
||||
dictAppendWord2(dp, si, createParen, FW_DEFAULT);
|
||||
dictAllotCells(dp, 1);
|
||||
return;
|
||||
|
|
|
|||
Loading…
Reference in a new issue