commit | ef2e9b4b94bef326ff03a9f3e12145317424ce0a | [log] [tgz] |
---|---|---|
author | Even Rouault <even.rouault@spatialys.com> | Mon Dec 20 20:13:02 2021 +0100 |
committer | Even Rouault <even.rouault@spatialys.com> | Mon Dec 20 20:13:19 2021 +0100 |
tree | 1272521eeb2112e39c26c9da55dc1d8f84e5b1ae | |
parent | 8ac9637b4a54e0b0a52e59b0299aaa974e8fc453 [diff] |
DFAContentModel::buildDFA(): correctly zero-initialize fFollowList Due to a copy&paste issue, the intended zero-initialization of fFollowList wasn't done (copy&paste issue), and thus in case of OutOfMemory exception when initializing the array, the memory freeing in cleanup() could access uninitialized elements. Follow-up of https://github.com/apache/xerces-c/pull/40 / a65990d79d3fc333d7481f010da4e165a88b6cb3 Fixes GDAL's https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=42636