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

frame: projection: hard-coded magic numbers can underflow for long lines #25

Closed
as opened this issue Oct 12, 2017 · 0 comments
Closed
Labels

Comments

@as
Copy link
Owner

as commented Oct 12, 2017

Under certain conditions a hard-coded constant is used to calculate the 1-D x-max point at the end of the frame. If the actual number of characters in the frame exceeds this limit some rendering operations may be limited to the value of the constant.

This is an issue primarily for extremely long runs of text missing hard newline characters.

as/frame/delete.go:133: pt2 := f.pointOf(65536, pt1, n1)

@as as added the bug label Oct 12, 2017
@as as mentioned this issue Feb 7, 2018
15 tasks
@as as closed this as completed Feb 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant