summaryrefslogtreecommitdiffstats
path: root/src/corelib/animation/qpauseanimation.cpp
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2021-04-06 14:12:03 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2021-04-07 14:51:04 +0200
commit0c9fc20e7ff7b4ff0f15e0b2c071ea834625dce9 (patch)
treee50fa3982c8060c1fc87e6af69f85bd541d020b4 /src/corelib/animation/qpauseanimation.cpp
parent89bdd096706bb71a75d3689e8e47772f9aaf4ff3 (diff)
Avoid attempting to parse insanely long texts as zone names
There are limits on zone name length and the trial-and-error approach we're more or less forced to take to parsing gets horribly expensive if applied to every prefix of a very long string. So apply a loosened version of the zone-name validity rule that limits the length of the fragments between slashes and limit the number of such fragments. Fixes: QTBUG-92275 Pick-to: 6.1 6.0 5.15 Change-Id: I83052b1b6888728c81135db22a9c6298ae439375 Reviewed-by: Robert Löhning <robert.loehning@qt.io> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/animation/qpauseanimation.cpp')
0 files changed, 0 insertions, 0 deletions