From dc13f3e6328f8a38bba329edb26c54e695cbfa63 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Thu, 1 Jun 2023 07:48:49 +0200 Subject: [PATCH] docs: add a NEWS entry about memory leak --- NEWS | 4 ++++ README.md | 8 ++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/NEWS b/NEWS index 6fda933e..ea6afcae 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,7 @@ +lldpd (1.0.18) + * Fix: + + Fix memory leaks in EDP/FDP decoding when receiving some TLVs twice. + lldpd (1.0.17) * Fix: + Read overflow when parsing CDP addresses. Thanks to Matteo Memelli. diff --git a/README.md b/README.md index 99fe9966..6925a8ed 100644 --- a/README.md +++ b/README.md @@ -360,28 +360,28 @@ To enable code coverage, use: ### With [libfuzzer](https://llvm.org/docs/LibFuzzer.html) -using address sanitizer: +Using address sanitizer: ```bash export CC=clang export CFLAGS="-O1 -fno-omit-frame-pointer -gline-tables-only -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link" export LIB_FUZZING_ENGINE="-fsanitize=fuzzer" ``` -using undefined-behaviour sanitizer: +Using undefined-behaviour sanitizer: ```bash export CC=clang export CFLAGS="-O1 -fno-omit-frame-pointer -gline-tables-only -fsanitize=array-bounds,bool,builtin,enum,float-divide-by-zero,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unsigned-integer-overflow,unreachable,vla-bound,vptr -fno-sanitize-recover=array-bounds,bool,builtin,enum,float-divide-by-zero,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unreachable,vla-bound,vptr -fsanitize=fuzzer-no-link" export LIB_FUZZING_ENGINE="-fsanitize=fuzzer" ``` -using memory sanitizer: +Using memory sanitizer: ```bash export CC=clang export CFLAGS="-O1 -fno-omit-frame-pointer -gline-tables-only -fsanitize=memory -fsanitize-memory-track-origins -fsanitize=fuzzer-no-link" export LIB_FUZZING_ENGINE="-fsanitize=fuzzer" ``` -build and run: +Build and run: ``` ./configure --disable-shared --enable-pie --enable-fuzzer=$LIB_FUZZING_ENGINE make -- 2.39.5