qt5base-lts/tests/auto/corelib
Alex Henrie 54656da9ac QMimeDatabase: handle buggy type definitions with circular inheritance
This fixes an infinite loop reported by a user who had both the
definition of text/javascript from shared-mime-info 2.3 and the
definition of text/javascript from shared-mime-info 2.4 installed at the
same time. In 2.3, text/javascript is a subtype of
application/ecmascript, but in 2.4 application/ecmascript is a subtype
of text/javascript. Having both at the same time resulted in circular
inheritance.

https://gitlab.freedesktop.org/xdg/shared-mime-info/-/merge_requests/258#note_2167707

[ChangeLog][QtCore][QMimeDatabase] Added code to detect and break
circular inheritance loops in the MIME data, which were causing infinite
loops

Pick-to: 6.6 6.5
Change-Id: Ic207b1593a49c7bb88e4fd810d8f88aa630087ce
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: David Faure <david.faure@kdab.com>
2023-11-17 02:50:11 +00:00
..
animation QSequentialAnimationGroup: extend bindable property unit tests 2023-09-03 18:20:21 +02:00
global tst_qxp_is_virtual_base_of: disable all warnings for GCC < 10 2023-11-13 18:42:01 +00:00
io tests: skip setPermissions test if running as root 2023-11-03 11:00:11 +02:00
ipc QSharedMemory: fix attach() -> create() for non-legacy SystemV mode 2023-11-08 15:56:54 +01:00
itemmodels Q(Persistent)ModelIndex: use new test framework for op== 2023-11-13 17:35:54 +02:00
kernel JNI: Add convenience overloads for registerNativeMethods 2023-11-13 22:35:27 +01:00
mimetypes QMimeDatabase: handle buggy type definitions with circular inheritance 2023-11-17 02:50:11 +00:00
platform Blacklist tst_Android::orientationChange because it's flaky 2023-11-16 20:22:38 +01:00
plugin tst_QFactoryLoader: remove unused member variable 2023-11-13 19:42:00 +01:00
serialization wasm: Fix test runner for asynchronous tests 2023-10-26 13:43:39 +02:00
text Improve tst_QStringConverter::encodingForName_data() 2023-11-13 19:42:01 +01:00
thread wasm: Fix test runner for asynchronous tests 2023-10-26 13:43:39 +02:00
time TestLib: provide helper functions to test relational operators 2023-11-13 16:35:54 +01:00
tools Add QUniqueHandle - a general purpose RAII wrapper for non-memory types 2023-11-15 05:01:51 +01:00
CMakeLists.txt tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00