diff options
author | Marc Mutz <marc.mutz@qt.io> | 2022-03-14 16:24:55 +0100 |
---|---|---|
committer | Marc Mutz <marc.mutz@qt.io> | 2022-03-15 11:36:09 +0100 |
commit | 3636325946b471d48043540e309bf6f52be45331 (patch) | |
tree | 3844dac147296852296d0abef78922b3cdd9cd80 /tests/auto | |
parent | ce83a03cfda1b1d98234e8d82f8c41eda285384e (diff) |
QLibrary: fix possible arg() format clobbering
The fileName could potentially contain the string "%n", n ≤ 5, in
which case the following .arg() calls would interpolate their
arguments at the wrong position.
Fix by interpolating fileName last.
Pick-to: 6.3 6.2 5.15
Change-Id: I1a75a7671cbfe85ba3b2df240c3ef74482fc848d
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/auto')
0 files changed, 0 insertions, 0 deletions