QUIP-23: add security header to sources
The Qt ShaderTools module is designed to work with trusted content, and
38bd5dff600c0b29f88f3620f41ba6161e7d4a30 introduced documentation that
explicitly states that input to QShaderBaker is assumed to be
trusted content.
This transfers the responsibility for existing risks to the application
developer. Nevertheless, mark the qshaderbaker.cpp file as critical
code.
Beyond this, the code doesn't cross any trust boundaries, and
the probability of this code representing exploitable vulnerabilities is
low.
Pick-to: 6.11 6.10 6.8
Task-number: QTBUG-135773
Change-Id: I58a50c341511a8a0c0dc5e4afa475bd8d3353ae2
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
| commit | b13d23835c7b92aae3adbc37dc3d0ad404b8a844 |
| parent | 203931776fb2d4be6d0f50473eb3b01b10285476 |
| author | Volker Hilsheimer <volker.hilsheimer@qt.io> |
| committer | Volker Hilsheimer <volker.hilsheimer@qt.io> |
| commit time | Fri, 6 Feb 2026 13:45:49 +0100 |
- M src/shadertools/qshaderbaker.cpp
- M src/shadertools/qshaderbaker.h
- M src/shadertools/qshaderrewriter.cpp
- M src/shadertools/qshaderrewriter_p.h
- M src/shadertools/qspirvcompiler.cpp
- M src/shadertools/qspirvcompiler_p.h
- M src/shadertools/qspirvshader.cpp
- M src/shadertools/qspirvshader_p.h
- M src/shadertools/qspirvshaderremap.cpp
- M src/shadertools/qspirvshaderremap_p.h
- M src/shadertools/qtshadertoolsglobal.h
- M src/shadertools/qtshadertoolsglobal_p.h