summaryrefslogtreecommitdiff
path: root/amiga
diff options
context:
space:
mode:
authorMark Adler <madler@alumni.caltech.edu>2016-09-21 22:25:21 -0700
committerMark Adler <madler@alumni.caltech.edu>2016-09-21 22:51:15 -0700
commit9aaec95e82117c1cb0f9624264c3618fc380cecb (patch)
treee2911e6cc7351c0c0b44017a5089c66101daa00c /amiga
parent3fb251b363866417122fe54a158a1ac5a7837101 (diff)
downloadzlib-9aaec95e82117c1cb0f9624264c3618fc380cecb.tar.gz
zlib-9aaec95e82117c1cb0f9624264c3618fc380cecb.tar.bz2
zlib-9aaec95e82117c1cb0f9624264c3618fc380cecb.zip
Use post-increment only in inffast.c.
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.
Diffstat (limited to 'amiga')
0 files changed, 0 insertions, 0 deletions