diff options
author | Oswald Buddenhagen <oswald.buddenhagen@qt.io> | 2016-12-19 13:50:17 +0100 |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@gmx.de> | 2019-01-14 08:52:15 +0000 |
commit | c365fa49d85810c6ad09bb5f43b5081cd7543bf1 (patch) | |
tree | 12f6db2fe9dfae85734d5e188cfb683dd9ba3e4b /LICENSE.GPL3-EXCEPT | |
parent | 6178913a234dfbb5a24c9128f6460f070fb7ce14 (diff) |
fix out-of-bounds access on trailing percent sign in tr() argument
tr() recognizes %n and %Ln. it offers no way to escape lone percent
signs, which implies that they must be interpreted verbatim, which is
what the code actually does. except that it would run off the end if the
% appeared at the end of the string.
Fixes: QTBUG-57171
Done-with: Mateusz Starzycki <mstarzycki@gmail.com>
Change-Id: Icf81925c482be1ea66ec8daafb3e92ad17ea7fab
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
Diffstat (limited to 'LICENSE.GPL3-EXCEPT')
0 files changed, 0 insertions, 0 deletions