[lxc-devel] [lxc/lxc] e8694d: oss-fuzz: fuzz lxc_config_define_add and lxc_confi...
Christian Brauner
noreply at github.com
Wed Apr 7 07:34:14 UTC 2021
Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: e8694d9a22fd331ef8208bd2c9725eef729bb6dc
https://github.com/lxc/lxc/commit/e8694d9a22fd331ef8208bd2c9725eef729bb6dc
Author: Evgeny Vereshchagin <evvers at ya.ru>
Date: 2021-04-01 (Thu, 01 Apr 2021)
Changed paths:
M src/lxc/confile.c
A src/tests/fuzz-lxc-define-load.c
M src/tests/oss-fuzz.sh
Log Message:
-----------
oss-fuzz: fuzz lxc_config_define_add and lxc_config_define_load
Signed-off-by: Evgeny Vereshchagin <evvers at ya.ru>
Commit: 1a46f8537ecfb1229564fa13ce6cd864bc5a4ca6
https://github.com/lxc/lxc/commit/1a46f8537ecfb1229564fa13ce6cd864bc5a4ca6
Author: Evgeny Vereshchagin <evvers at ya.ru>
Date: 2021-04-01 (Thu, 01 Apr 2021)
Changed paths:
M src/lxc/confile.c
Log Message:
-----------
confile: fix a memory leak lxc_config_define_add
```
2021-04-02T05:45:54.9410345Z ==13==ERROR: LeakSanitizer: detected memory leaks
2021-04-02T05:45:54.9410737Z
2021-04-02T05:45:54.9411488Z Direct leak of 16 byte(s) in 1 object(s) allocated from:
2021-04-02T05:45:54.9412556Z #0 0x54d752 in calloc /src/llvm-project/compiler-rt/lib/asan/asan_malloc_linux.cpp:154:3
2021-04-02T05:45:54.9413360Z #1 0x583795 in parse_new_conf_line /src/lxc/src/lxc/confile.c:3048:8
2021-04-02T05:45:54.9414057Z #2 0x582f1a in lxc_config_define_add /src/lxc/src/lxc/confile.c:3090:15
2021-04-02T05:45:54.9415352Z #3 0x5810fa in LLVMFuzzerTestOneInput /src/lxc/src/tests/fuzz-lxc-define-load.c:30:6
2021-04-02T05:45:54.9419212Z #4 0x483b93 in fuzzer::Fuzzer::ExecuteCallback(unsigned char const*, unsigned long) /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerLoop.cpp:599:15
2021-04-02T05:45:54.9421819Z #5 0x48309a in fuzzer::Fuzzer::RunOne(unsigned char const*, unsigned long, bool, fuzzer::InputInfo*, bool, bool*) /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerLoop.cpp:505:3
2021-04-02T05:45:54.9424205Z #6 0x485474 in fuzzer::Fuzzer::ReadAndExecuteSeedCorpora(std::__Fuzzer::vector<fuzzer::SizedFile, fuzzer::fuzzer_allocator<fuzzer::SizedFile> >&) /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerLoop.cpp:814:7
2021-04-02T05:45:54.9426658Z #7 0x485689 in fuzzer::Fuzzer::Loop(std::__Fuzzer::vector<fuzzer::SizedFile, fuzzer::fuzzer_allocator<fuzzer::SizedFile> >&) /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerLoop.cpp:845:3
2021-04-02T05:45:54.9428616Z #8 0x473717 in fuzzer::FuzzerDriver(int*, char***, int (*)(unsigned char const*, unsigned long)) /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerDriver.cpp:906:6
2021-04-02T05:45:54.9429989Z #9 0x49f572 in main /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerMain.cpp:20:10
2021-04-02T05:45:54.9433312Z #10 0x7fa96041b83f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2083f)
2021-04-02T05:45:54.9433795Z
2021-04-02T05:45:54.9434661Z DEDUP_TOKEN: calloc--parse_new_conf_line--lxc_config_define_add
2021-04-02T05:45:54.9435483Z SUMMARY: AddressSanitizer: 16 byte(s) leaked in 1 allocation(s).
2021-04-02T05:45:54.9435958Z
2021-04-02T05:45:54.9436404Z INFO: a leak has been found in the initial corpus.
```
Signed-off-by: Evgeny Vereshchagin <evvers at ya.ru>
Commit: 55376ebd14060e5a950af289a48c8317f1ca8423
https://github.com/lxc/lxc/commit/55376ebd14060e5a950af289a48c8317f1ca8423
Author: Evgeny Vereshchagin <evvers at ya.ru>
Date: 2021-04-01 (Thu, 01 Apr 2021)
Changed paths:
M .github/workflows/cifuzz.yml
Log Message:
-----------
cifuzz: fuzz longer
Signed-off-by: Evgeny Vereshchagin <evvers at ya.ru>
Commit: 9d984c3fb5b4ae386ef956704977dc687488c74e
https://github.com/lxc/lxc/commit/9d984c3fb5b4ae386ef956704977dc687488c74e
Author: Christian Brauner <christian.brauner at ubuntu.com>
Date: 2021-04-07 (Wed, 07 Apr 2021)
Changed paths:
M .github/workflows/cifuzz.yml
M src/lxc/confile.c
A src/tests/fuzz-lxc-define-load.c
M src/tests/oss-fuzz.sh
Log Message:
-----------
Merge pull request #3763 from evverx/fuzz-lxc-define-load
oss-fuzz: fuzz lxc_config_define_add and lxc_config_define_load
Compare: https://github.com/lxc/lxc/compare/ace51ce88d91...9d984c3fb5b4
More information about the lxc-devel
mailing list