-
Notifications
You must be signed in to change notification settings - Fork 10.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Typo in core/jpx.js #5227
Labels
Comments
Yep, looks like a typo. Do you want any PDFs it might fix? |
I found this using a static analysis tool, so I'm not sure when (or whether) this would actually be a problem in practice. |
thanks |
@xiemaisi very interesting, can you tell the name of the tool? :) |
It's a new static analyser we are developing at Semmle (http://semmle.com/). Proprietary, I'm afraid... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Lines 534--539 (https://github.com/mozilla/pdf.js/blob/master/src/core/jpx.js#L538) read
Note that
numcodeblockhigh
is always initialised to 1. Presumably, it should be initialised to this instead:The text was updated successfully, but these errors were encountered: