diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2016-07-16 02:28:06 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2016-07-19 07:09:11 +0000 |
commit | 03f392f887132d5a2185627eef02db9ecf793396 (patch) | |
tree | 56147569244f50de84a8a6437f615c455d83b1fc /LGPL_EXCEPTION.txt | |
parent | d91d3536eb82075aec25f3772c4209e15b7b3060 (diff) | |
download | qtxmlpatterns-03f392f887132d5a2185627eef02db9ecf793396.tar.gz |
Add some missing initialization
As reported by UBSan:
xmlpatterns/expr/qorderby_p.h:78:15: runtime error: load of value 11181584, which is not a valid value for type 'Direction'
xmlpatterns/expr/qorderby_p.h:78:15: runtime error: load of value 32766, which is not a valid value for type 'OrderingEmptySequence'
xmlpatterns/schema/qxsdstatemachine_p.h:66:11: runtime error: load of value 2979516404, which is not a valid value for type 'NodeName'
xmlpatterns/schema/qxsdschemaparser.cpp:340:67: runtime error: load of value 40, which is not a valid value for type 'bool'
The init values are chosen to match what zero-initialization
would have chosen.
Change-Id: Iaf69720476cfe6c117dc2c91f39801a0be8bde54
Reviewed-by: Tobias Koenig <tobias.koenig@kdab.com>
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
Diffstat (limited to 'LGPL_EXCEPTION.txt')
0 files changed, 0 insertions, 0 deletions