summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAndreas Buhr <andreas.buhr@qt.io>2020-11-18 14:34:37 +0100
committerEdward Welbourne <edward.welbourne@qt.io>2023-05-15 14:02:42 +0200
commitae34a78b24a56b30b99976fb5cfc40e96596579b (patch)
tree49914418c155fb10d9fbc9a680942b786776b28e /examples
parent13e8609fc957b9bdcc435a93e39aae4211fe4777 (diff)
downloadqtbase-ae34a78b24a56b30b99976fb5cfc40e96596579b.tar.gz
Don't create a QTimeZonePrivate object for an unsupported time zone ID
The QTzTimeZoneCache created one cache entry for every time zone which was looked up, even if the code was invalid. This uses some memory for each time zone code queried and thus allows DOS attacks if user supplied time zone codes are parsed. This patch prevents the creation of QTimeZonePrivate objects for invalid time zone IDs. Change-Id: I22007f6681bea54fa08639f4f786e1a49d10f920 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions