diff options
| author | Fabian Kosmale <fabian.kosmale@qt.io> | 2025-05-19 10:14:03 +0200 |
|---|---|---|
| committer | Fabian Kosmale <fabian.kosmale@qt.io> | 2025-09-16 15:17:46 +0200 |
| commit | 8d4ebd03d29e58ef83b286a12d3257bc9a3094d4 (patch) | |
| tree | 855e8276f6bd04c4cecbfceec0d413d9c71d1475 /src/qmlworkerscript/qquickworkerscript.cpp | |
| parent | 22df353c14800d2e9b6d57a9a0cb9c6baa337999 (diff) | |
Mark security criticality for most files in qml/parser
Mark the lexing / parsing code as security critical, because they are
data parsers. While _running_ QML code needs to assume trusted input, we
probably should not have this restriction on the parser, so that tools
like qmllint, qmlls and qdoc can safely pass any file to the parser,
without having to worry about security implications.
The criticality extends to qqmljskeywords_p.h, as we do custom bounds
checking in the functions defined there.
qqmljsastfwd_p is marked as insignificant, as it only contains fowrard
declarations and no logic at all.
The other marked files have the default level (significant).
QUIP: 23
Task-number: QTBUG-136966
Pick-to: 6.10 6.9 6.8
Change-Id: I1e44f346d91d6d66c8e9632f0dec4a11fffc935a
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/qmlworkerscript/qquickworkerscript.cpp')
0 files changed, 0 insertions, 0 deletions
