diff options
author | JinWang An <jinwang.an@samsung.com> | 2021-02-16 11:04:04 +0900 |
---|---|---|
committer | JinWang An <jinwang.an@samsung.com> | 2021-02-16 12:53:29 +0900 |
commit | 90abb7b35916f11d6ef09cd2ba3a1a15c84d2fd8 (patch) | |
tree | b6acd05bd66d15847fce5b04f868725e12752ee5 /Tests/FindBoost | |
parent | a26c0b2357111eed25cf264967cbf2bc1c306650 (diff) | |
download | cmake-submit/tizen_base/20210216.053949.tar.gz cmake-submit/tizen_base/20210216.053949.tar.bz2 cmake-submit/tizen_base/20210216.053949.zip |
[CVE-2016-9841] Use post-increment only in inffast.c.submit/tizen_base/20210216.053949
An old inffast.c optimization turns out to not be optimal anymore
with modern compilers, and furthermore was not compliant with the
C standard, for which decrementing a pointer before its allocated
memory is undefined. Per the recommendation of a security audit of
the zlib code by Trail of Bits and TrustInSoft, in support of the
Mozilla Foundation, this "optimization" was removed, in order to
avoid the possibility of undefined behavior.
Change-Id: Ic12de92b938e9e3d8856e6ff0cf50d55cb9488ef
Signed-off-by: JinWang An <jinwang.an@samsung.com>
Diffstat (limited to 'Tests/FindBoost')
0 files changed, 0 insertions, 0 deletions