Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.4.0
-
None
-
5e41f4137dd42a9a639be8743ae95c8e159bd4e0
Description
<?xml version="1.0" encoding="UTF-8"?> <mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'> <mime-type type="text/foo"> <comment>blah</comment> <magic> <match value="foo" type="byte" offset="0"/> </magic> </mime-type> </mime-info>
Feed that as a shared-mime xml file to QMimeData base. It asserts when finding that type is 'byte' but value is a string.
Attachments
For Gerrit Dashboard: QTBUG-44319 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
105599,6 | QMimeDatabase: warn instead of asserting on bad magic. | 5.4 | qt/qtbase | Status: ABANDONED | +2 | 0 |
124188,3 | QMimeDatabase: warn instead of asserting on bad magic. | 5.5 | qt/qtbase | Status: MERGED | +2 | 0 |