Skip to content

Set up CI with Azure Pipelines#2

Open
rs-- wants to merge 1 commit intomasterfrom
ado-integration
Open

Set up CI with Azure Pipelines#2
rs-- wants to merge 1 commit intomasterfrom
ado-integration

Conversation

@rs--
Copy link
Copy Markdown
Owner

@rs-- rs-- commented Aug 26, 2020

No description provided.

@rs-- rs-- force-pushed the ado-integration branch 3 times, most recently from 8de453b to c5631f9 Compare August 26, 2020 07:21
@rs-- rs-- changed the base branch from master to add-ansible-retry August 26, 2020 17:05
@rs-- rs-- changed the base branch from add-ansible-retry to master August 26, 2020 17:05
@rs-- rs-- force-pushed the ado-integration branch 11 times, most recently from eb88b02 to 7f01ebc Compare September 1, 2020 01:38
Signed-off-by: Rob Sanchez <rosan@microsoft.com>
rs-- pushed a commit that referenced this pull request Jun 2, 2021
4055: Cleaning up ocall_buffer allocated in _setup_ecall_context r=anakrish a=mrragava

Fixing a leak scenario detected during fuzzing.
Signed-off-by: Ragavan Dasarathan <mrragava@gmail.com>

==9977==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 16384 byte(s) in 1 object(s) allocated from:
    #0 0x551523 in __interceptor_malloc /home/ragava/Desktop/labs/llvm/oe-llvm/compiler-rt/lib/asan/asan_malloc_linux.cc:146:3
    #1 0x83cddb in _setup_ecall_context /home/ragava/oefuzz/openenclave-security/sut/openenclave/host/sgx/enter.c:143:33
    #2 0x83cddb in __morestack /home/ragava/oefuzz/openenclave-security/sut/openenclave/host/sgx/enter.c:202
    #3 0x82d120 in _do_eenter /home/ragava/oefuzz/openenclave-security/sut/openenclave/host/sgx/calls.c:193:13
    #4 0x82d120 in oe_ecall /home/ragava/oefuzz/openenclave-security/sut/openenclave/host/sgx/calls.c:612
    openenclave#5 0x66328d in _initialize_enclave /home/ragava/oefuzz/openenclave-security/sut/openenclave/host/sgx/create.c:464:5
    openenclave#6 0x660fe9 in oe_create_enclave /home/ragava/oefuzz/openenclave-security/sut/openenclave/host/sgx/create.c:1190:5
    openenclave#7 0x59c8e5 in oe_create_hostapis_enclave /home/ragava/oefuzz/openenclave-security/build/fuzzing_build/src/dynamic/fuzzing/hostapis/host/hostapis_u.c:3925:12
    openenclave#8 0x583431 in hostapi_fuzzer::hostapi_fuzzer() /home/ragava/oefuzz/openenclave-security/build/fuzzing_build/../../src/dynamic/fuzzing/hostapis/host/host.cpp:58:13
    openenclave#9 0x582bea in parse_report_fuzz::parse_report_fuzz() /home/ragava/oefuzz/openenclave-security/build/fuzzing_build/../../src/dynamic/fuzzing/hostapis/host/host.cpp:119:7
    openenclave#10 0x581e2f in std::_MakeUniq<parse_report_fuzz>::__single_object std::make_unique<parse_report_fuzz>() /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/unique_ptr.h:821:34
    openenclave#11 0x581bb1 in LLVMFuzzerTestOneInput /home/ragava/oefuzz/openenclave-security/build/fuzzing_build/../../src/dynamic/fuzzing/hostapis/host/host.cpp:213:18
...
...


Co-authored-by: Ragavan Dasarathan <mrragava@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant