fixed bug #1459789 - Incorrect FileOpen input validation
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4621 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
9079530840
commit
411a2d5c58
1 changed files with 1 additions and 1 deletions
|
@ -5256,7 +5256,7 @@ int CEXEBuild::doCommand(int which_token, LineParser &line)
|
|||
ent.offsets[2]=OPEN_ALWAYS;
|
||||
}
|
||||
|
||||
if (ent.offsets[3] < 0 || !ent.offsets[1]) PRINTHELP()
|
||||
if (ent.offsets[0] < 0 || !ent.offsets[1]) PRINTHELP()
|
||||
}
|
||||
SCRIPT_MSG("FileOpen: %s as %s -> %s\n",line.gettoken_str(2),line.gettoken_str(3),line.gettoken_str(1));
|
||||
return add_entry(&ent);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue