Dax89 / QHexView

A versatile Hexadecimal widget for Qt5
MIT License
321 stars 102 forks source link

Fix integer overflow in firstVisibleLine() #39

Closed aerosoul94 closed 3 years ago

aerosoul94 commented 3 years ago

An integer overflow occurs while viewing files larger than 34GB's. This causes the widget to not render anything when the first visible line is beyond 0x7ffffffff (note that this is 8 f's).

image

Scrolling past 0x800000000: image

Dax89 commented 3 years ago

Thanks!