qt6-bb10/src/printsupport/kernel
Friedemann Kleint 579283507c QWin32PrintEngine: Fix uninitialized memory read of dpi_x, dpi_y
Discovered by purify:
QWin32PrintEnginePrivate::initialize() called updateMetrics()
via updatePageLayout() after initHDC(), so dpi_x, dpi_y
were accessed before initialized from the display resolution.
Fix by moving the call initHDC() up and giving default
values.

Change-Id: Ia360c06d156e569ca6b1472ec5b5cdc52948f913
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
2016-08-30 12:02:09 +00:00
..
kernel.pri QPlatformPrintDevice - New QPA base class 2014-03-17 13:45:31 +01:00
qcups.cpp QCUPSSupport: clear the job-hold-until option if jobHoldToString() is empty 2015-06-19 16:29:46 +00:00
qcups_p.h Mark some QCUPSSupport enums as primitive 2015-07-18 06:20:01 +00:00
qpaintengine_alpha.cpp Merge remote-tracking branch 'origin/5.5' into 5.6 2015-10-02 16:59:55 +02:00
qpaintengine_alpha_p.h Speed up printing when drawing opaque primitives. 2015-09-23 16:38:07 +00:00
qpaintengine_preview.cpp Update copyright headers 2015-02-11 06:49:51 +00:00
qpaintengine_preview_p.h Update copyright headers 2015-02-11 06:49:51 +00:00
qplatformprintdevice.cpp QPlatformPrintDevice: fix uninit'ed member variable 2016-03-06 18:37:06 +00:00
qplatformprintdevice.h Clean up API of QPlatformPrintDevice (QPA). 2015-05-05 14:06:27 +00:00
qplatformprintersupport.cpp Update copyright headers 2015-02-11 06:49:51 +00:00
qplatformprintersupport.h Update copyright headers 2015-02-11 06:49:51 +00:00
qplatformprintplugin.cpp Don't try to load plugins if QT_NO_LIBRARY is set. 2015-06-12 11:57:07 +00:00
qplatformprintplugin.h Introduce a version number to QPlatformPrinterSupportFactoryInterface. 2015-05-13 12:41:24 +00:00
qprint_p.h printsupport: Pass large type by const-ref 2015-07-20 10:20:15 +00:00
qprintdevice.cpp Clean up API of QPlatformPrintDevice (QPA). 2015-05-05 14:06:27 +00:00
qprintdevice_p.h Clean up API of QPlatformPrintDevice (QPA). 2015-05-05 14:06:27 +00:00
qprintengine.h Update copyright headers 2015-02-11 06:49:51 +00:00
qprintengine_pdf.cpp Update copyright headers 2015-02-11 06:49:51 +00:00
qprintengine_pdf_p.h Update copyright headers 2015-02-11 06:49:51 +00:00
qprintengine_win.cpp QWin32PrintEngine: Fix uninitialized memory read of dpi_x, dpi_y 2016-08-30 12:02:09 +00:00
qprintengine_win_p.h QWin32PrintEngine: Fix uninitialized memory read of dpi_x, dpi_y 2016-08-30 12:02:09 +00:00
qprinter.cpp Doc: Change instances of '(Mac) OS X' to 'macOS' 2016-08-12 08:30:29 +00:00
qprinter.h Update copyright headers 2015-02-11 06:49:51 +00:00
qprinter_p.h Update copyright headers 2015-02-11 06:49:51 +00:00
qprinterinfo.cpp Use QList::reserve(), reduces reallocations 2015-06-27 11:48:36 +00:00
qprinterinfo.h Add debug operator for QPrinterInfo. 2015-04-23 09:59:30 +00:00
qprinterinfo_p.h Update copyright headers 2015-02-11 06:49:51 +00:00
qtprintsupportglobal.h Update copyright headers 2015-02-11 06:49:51 +00:00