Menu

#8 crash on swtich to index view

Unstable_(example)
open
None
5
2015-08-14
2015-08-14
Ferd Chen
No

Hi,

I find a bug that, when I open some document with kchmviewer 7.3 (say, python277rc1.chm), and on switching to index view, it crashes.

I have got the root cause, and make a patch.
the root cause is:
in TabIndex::refillIndex, indent maybe less than zero, but it is not checked.

the solution is:
ignore the invalid indent that is smaller than zero.

Thanks & Br,
Ferd Chen

1 Attachments

Discussion


Log in to post a comment.