Details
-
Bug
-
Resolution: Unresolved
-
P1: Critical
-
None
-
5.9.2, 5.10.1, 5.11.0, 5.11.1
-
None
Description
The following code demonstrates the problem.
int main(int argc, char *argv[]) { QApplication app(argc, argv); QTimer::singleShot(0, [](){ QPixmap p{1, 1}; QApplication::clipboard()->setPixmap(p, QClipboard::Clipboard); QCoreApplication::quit(); }); return app.exec(); }
results in
WARNING!!! WARNING!!! WARNING!!! WARNING!!! WARNING!!! WARNING!!!
WARNING!!! WARNING!!! WARNING!!! WARNING!!! WARNING!!! WARNING!!!
WARNING!!! WARNING!!! WARNING!!! WARNING!!! WARNING!!! WARNING!!!
YOUR CODE IS RELYING ON DEPRECATED FUNCTIONALTIY IN THE JASPER LIBRARY.
THIS FUNCTIONALITY WILL BE REMOVED IN THE NEAR FUTURE.
PLEASE FIX THIS PROBLEM BEFORE YOUR CODE STOPS WORKING!
The specific problem is as follows:
negative buffer size for jas_stream_memopen
Attachments
Issue Links
- relates to
-
QTBUG-89041 QClipboard filled with QPixmap crashes on exit
- Reported