Skip to content

Commit

Permalink
Be more strict when parsing plists
Browse files Browse the repository at this point in the history
  • Loading branch information
trufae authored and radare committed Apr 22, 2022
1 parent 24d38d3 commit 2acfb12
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/parse.js
Original file line number Diff line number Diff line change
Expand Up @@ -217,5 +217,7 @@ function parsePlistXML (node) {

} else if (node.nodeName === 'false') {
return false;
} else {
throw new Error('Invalid PLIST tag ' + node.nodeName);
}
}

0 comments on commit 2acfb12

Please sign in to comment.