diff options
author | Chin Liang See <chin.liang.see@intel.com> | 2019-10-17 11:21:34 +0800 |
---|---|---|
committer | Chin Liang See <chin.liang.see@intel.com> | 2019-10-17 11:21:34 +0800 |
commit | c51e9895ee31ab74d4b58c2617369b6161a3d1fc (patch) | |
tree | 22ce2574b0d8b9751dc75d34237b60f91a0b1a16 /configs/socfpga_arria5_defconfig | |
parent | 1e4d8c19682d584e82ab9faa3ec85c8c315397e7 (diff) | |
download | u-boot-socfpga-c51e9895ee31ab74d4b58c2617369b6161a3d1fc.tar.gz |
Use post-increment only in inffast.c.rel_socfpga_v2019.04_19.11.01_pr
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.
Signed-off-by: Mark Adler <madler@alumni.caltech.edu>
Signed-off-by: Chin Liang See <chin.liang.see@intel.com>
Diffstat (limited to 'configs/socfpga_arria5_defconfig')
0 files changed, 0 insertions, 0 deletions