Skip to content
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

lineStart is used uninitialised in the flatLand example #8

Open
thenickdude opened this issue Jul 6, 2013 · 1 comment
Open

lineStart is used uninitialised in the flatLand example #8

thenickdude opened this issue Jul 6, 2013 · 1 comment

Comments

@thenickdude
Copy link

The variable lineStart is declared uninitialised on line 121 of /bramstein/typeset/blob/master/examples/flatland/index.html , then later read on line 176 with no intervening write.

@PhilterPaper
Copy link

Same problem in examples/article/browser-assist.js. In examples/article/index.html, it appears to have been addressed by initializing it to 0 before the first loop. I haven't examined the code carefully, but I suspect that initializing lineStart = 0 where it is declared should do the trick (assuming the logic in browser-assist.js and flatland/index.html are using it in the same way).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants