diff options
author | Alon Zakai <alonzakai@gmail.com> | 2014-01-31 10:59:40 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2014-01-31 10:59:40 -0800 |
commit | 5c35062c0096625f4d7004e243164de79388bedd (patch) | |
tree | ac0d606d3ef0c6a66d45866240086f4275182d4e /src | |
parent | 35ef551f44c778fcf1eec7edd7a8afeaf3cead1e (diff) |
further fix for #1407
Diffstat (limited to 'src')
-rw-r--r-- | src/library.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/library.js b/src/library.js index 30453137..632df975 100644 --- a/src/library.js +++ b/src/library.js @@ -1642,6 +1642,7 @@ LibraryManager.library = { next = get(); {{{ makeSetValue('argPtr++', 0, 'next', 'i8') }}}; } + if (next === 0) return fields-1; // we failed to read this field formatIndex += nextC - formatIndex + 1; continue; } |