summaryrefslogtreecommitdiffstats
path: root/src/sql
diff options
context:
space:
mode:
authorChristian Ehrlicher <ch.ehrlicher@gmx.de>2019-01-25 22:09:46 +0100
committerChristian Ehrlicher <ch.ehrlicher@gmx.de>2019-01-30 17:38:25 +0000
commit0bde49bd92b0d4366b91c5cdd1585e0e1fb623bc (patch)
tree1acefd2250fbfff136a6ec84ffdae5ef076dac29 /src/sql
parentf383fa4b9c64e319cb9b8a63ca88368ad752db27 (diff)
QPictureIO::read(): don't work on dangling pointer
QPictureIO::read() is using pictureFormat() when the format has to be guessed. pictureFormat() returns a QByteArray which was implicit casted into a char* and then pointed to uninitialized memory. Fix it by using a QByteArray instead a plain char*. Change-Id: If9ae286ed68134af597f0b0c779789e40f9efaed Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/sql')
0 files changed, 0 insertions, 0 deletions