buggins / dlangui

Cross Platform GUI for D programming language
Boost Software License 1.0
813 stars 121 forks source link

deprecation + integer overflow #587

Open cym13 opened 5 years ago

cym13 commented 5 years ago

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:

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.