public
/
UglifyJS.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
484d3fd
)
fix corner case in false positive detection (#4011)
author
Alex Lam S.L
<alexlamsl@gmail.com>
Mon, 20 Jul 2020 13:57:22 +0000
(14:57 +0100)
committer
GitHub
<noreply@github.com>
Mon, 20 Jul 2020 13:57:22 +0000
(21:57 +0800)
test/ufuzz/index.js
patch
|
blob
|
history
diff --git
a/test/ufuzz/index.js
b/test/ufuzz/index.js
index
64ea805
..
b4059ea
100644
(file)
--- a/
test/ufuzz/index.js
+++ b/
test/ufuzz/index.js
@@
-1232,7
+1232,7
@@
function patch_try_catch(orig, toplevel) {
if (typeof result != "object" || typeof result.name != "string" || typeof result.message != "string") {
if (!stack.filled && match[1]) stack.push({
code: code,
- index: index,
+ index: index
&& index - 1
,
offset: offset,
tries: JSON.parse(JSON.stringify(tries)),
});