Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.4.0 Alpha
-
None
-
any
-
ba9ac942f0b27888648e21d8179f86448c953d96
Description
In one code patch of QImage::detach() copy() is called which can result in a zeroed d (if malloc in the QImage contructor fails).
Therefore the line "++d->detach_no;" should be prepended by an "if (d)" to prevent a seqfault.