Skip to content
Commit 17be0885 authored by Michael Pyne's avatar Michael Pyne
Browse files

kcharselect: Improved precondition checking.

Apparently bug 235020 (crash in KCharSelect) is still around even in
kdelibs 4.7.0.

Harald Sitter had noted in comment 46 to that bug that the QModelIndex
should be checked before it is used, and the int type of pos means it
could overflow to be negative. Neither condition is checked for yet, so
check for them now.

Hopefully we really fix bug 235020 (or at least reduce severity away
from being a crasher).

This commit is for 4.7.2.

CCBUG:235020.
parent b17866c9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment