diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-09-28 15:21:41 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2021-02-02 02:02:14 +0100 |
commit | 02ae5beea39b1391e9b8e22b30bd47cbe6872bb2 (patch) | |
tree | f8005ef17c0bdd28ee8ae0c54bc6f3b1f30a3229 /tools | |
parent | d18dfa7dadded2998b3420d0e813a16715d4e852 (diff) | |
download | qt3-02ae5beea39b1391e9b8e22b30bd47cbe6872bb2.tar.gz qt3-02ae5beea39b1391e9b8e22b30bd47cbe6872bb2.zip |
Fix buffer overflow in XBM parser.
Avoid parsing over the buffer limit, or interpreting non-hex as hex.
This still leaves parsing of lines longer than 300 chars unreliable.
Based on Qt5 patch for CVE-2020-17507.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 9d7d238e9efc673a0dbda1140e2eaa740fe00d6b)
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions