Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.9.0
-
None
-
c7ea60d1abd65d5c85fc5e690a28935c9b4a2dec
Description
Hi.
Please look this code fragment:
if (!pixmap() && !pixmap()->isNull()) return pixmap()->size();
if pixmap() returns NULL, !pixmap() will be true, si pixmap()->isNull() will be executed.
Probably, it should be:
if (pixmap() && !pixmap()->isNull()) return pixmap()->size();
This possible defect found by AppChecker