summaryrefslogtreecommitdiffstats
path: root/src/widgets/doc/snippets/cmake-macros/examples.cpp
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@qt.io>2025-08-01 11:18:04 +0200
committerMarc Mutz <marc.mutz@qt.io>2025-08-01 18:47:43 +0000
commitd08c7d9c9789a7e017b27a3f1451559fe1aee945 (patch)
treed53cefd6b09b43267fa6f53ce6c385a49b5ef60c /src/widgets/doc/snippets/cmake-macros/examples.cpp
parent4b022c0fe08d31e39a074d12833a29cf02c67040 (diff)
Mark qvsnprintf as security-critical
This is borderline significant-only, because we only do minimal processing here, and only on Android and WebAssembly (on other platforms, we merely delegate to C's vsnprintf()). But if you asked 100 programmers whether snprintf() is security-critical, you would probably get 95 "yes" back, so mark it as such. It's small, after all. Better safe than sorry. There is not dedicated header for this TU (the functions are declared in qbytearrayalgorithms.h, whose marking is for a separate patch). Task-number: QTBUG-135195 Pick-to: 6.10 6.9 6.8 Change-Id: I45eaf0f240a57d92a71f83a7cd87b4d77dffe883 Reviewed-by: Matthias Rauter <matthias.rauter@qt.io>
Diffstat (limited to 'src/widgets/doc/snippets/cmake-macros/examples.cpp')
0 files changed, 0 insertions, 0 deletions