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

deprecation + integer overflow #587

Open
cym13 opened this issue Feb 15, 2019 · 0 comments
Open

deprecation + integer overflow #587

cym13 opened this issue Feb 15, 2019 · 0 comments

Comments

@cym13
Copy link

cym13 commented Feb 15, 2019

Hi,

Using recent DMD a deprecation shows for using an int to hold the index in a foreach. So far I've found 3 places:

  • src/dlangui/graphics/ftfonts.d L541
  • src/dlangui/widgets/editors.d L3447
  • src/dlangui/widgets/editors.d L3797

Those could turn into integer overflow if the length is very large so even though it's unlikely I think it's a clear logic bug.

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

1 participant