diff --git a/src/corelib/kernel/qtranslator.cpp b/src/corelib/kernel/qtranslator.cpp index 61f3a444994..76cc77e52d5 100644 --- a/src/corelib/kernel/qtranslator.cpp +++ b/src/corelib/kernel/qtranslator.cpp @@ -374,6 +374,16 @@ public: QCoreApplication::installTranslator(). It will then be the first translation to be searched for matching strings. + \section1 Security Considerations + + Only install translation files from trusted sources. + + Translation files are binary files that are generated from text-based + translation source files. The format of these binary files is strictly + defined by Qt and any manipulation of the data in the binary file may + crash the application when the file is loaded. Furthermore, even well-formed + translation files may contain misleading or malicious translations. + \sa QCoreApplication::installTranslator(), QCoreApplication::removeTranslator(), QObject::tr(), QCoreApplication::translate(), {I18N Example}, {Hello tr() Example}, {Arrow Pad Example}, {Troll Print Example}