• Show log

    Commit

  • Hash : e632d9f0
    Author : Nick Wellnhofer
    Date : 2023-12-10T16:56:16

    xpath: Report malloc failures
    
    Fix many places where malloc failures aren't reported.
    
    Rework XPath object cache to store free objects in a linked list to
    avoid allocating an additional array. Remove some unneeded object pools.
    

  • README

  • libFuzzer instructions for libxml2
    ==================================
    
    Set compiler and options:
    
        export CC=clang
        export CFLAGS="-g -fsanitize=fuzzer-no-link,address,undefined \
            -fno-sanitize-recover=all \
            -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION"
    
    Build libxml2 with instrumentation:
    
        ./configure --without-python
        make
    
    Run fuzzers:
    
        make -C fuzz fuzz-xml