diff options
| author | Marc Mutz <marc.mutz@kdab.com> | 2016-10-20 18:31:10 +0200 |
|---|---|---|
| committer | Marc Mutz <marc.mutz@kdab.com> | 2016-10-21 06:19:13 +0000 |
| commit | b6df7257501b54521c25587c3c5e600b2c9393d1 (patch) | |
| tree | e1fb1ad3e4f263e826394e3d7d3b4db8ecd175f3 /src/widgets/doc/snippets/qtablewidget-resizing/mainwindow.cpp | |
| parent | 0cccc23478432240f44cabfd853e60ff8c84c692 (diff) | |
Fix UB (ininited pointer read) in qt_egl_device_integration()
The m_integration member of DeviceIntegration, a naked pointer, was
checked for nullptr in the DeviceIntegration ctor, but never set to
nullptr.
Fix by init'ing it to nullptr in the ctor-init-list.
Coverity-Id: 172056
Change-Id: Ia1dc9b67b9d16a991bba82338eedb19de68f91d8
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/widgets/doc/snippets/qtablewidget-resizing/mainwindow.cpp')
0 files changed, 0 insertions, 0 deletions
