Skip to content
  • Michal Simek's avatar
    zlib: Remove incorrect ZLIB_VERSION · 26beded3
    Michal Simek authored and Tom Rini's avatar Tom Rini committed
    Get rid of zlib version which is not correct because of U-Boot related
    changes and various CVE backports.
    
    The change in inspired by Linux kernel commit 4f3865fb57a0 ("[PATCH]
    zlib_inflate: Upgrade library code to a recent version") which described
    ZLIB_VERSION removal as
    
    "This patch also removes ZLIB_VERSION as it no longer has a correct value.
    We don't need version checks anyway as the kernel's module handling will
    take care of that for us.  This removal is also more in keeping with the
    zlib author's wishes (http://www.zlib.net/zlib_faq.html#faq24) and I've
    added something to the zlib.h header to note its a modified version."
    
    Author describes wish to follow this guidance at
    https://www.zlib.net/zlib_faq.html#faq24:
    "The license says that altered source versions must be "plainly marked". So
    what exactly do I need to do to meet that requirement?
    
    You need to change the ZLIB_VERSION and ZLIB_VERNUM #defines in zlib.h. In
    particular, the final version number needs to be...
    26beded3