Skip to content
  • Nick Wellnhofer's avatar
    build: Disable support for compression libraries by default · f7f14537
    Nick Wellnhofer authored
    libxml2 has limited support for reading and writing compressed data
    with the help of zlib and liblzma which used to be enabled by default.
    This only works for files read from the file system and never worked
    with memory buffers. My guess is that this feature is virtually unused.
    In light of the recently discovered xz backdoor, it's a good time to
    disable these features by default to reduce attack surface and prepare
    for eventual removal.
    If --with-legacy is passed to the Autotools build, compression will
    be enabled by default as before.
To find the state of this project's repository at the time of any of these versions, check out the tags.