The result of malloc is not checked, which risks privacy leakage.
jmp0x7c00 opened this issue · 0 comments
jmp0x7c00 commented
data_to_store
may be NULL but its value is not checked:
Fidelius/web_enclave/isv_enclave/isv_enclave.cpp
Line 1034 in ab0d846
the content of data_to_store
will be sealed, so it is sensitive:
Fidelius/web_enclave/isv_enclave/isv_enclave.cpp
Line 1044 in ab0d846
if data_to_store
is NULL, the data it stores will be leaked by memcpy
:
Fidelius/web_enclave/isv_enclave/isv_enclave.cpp
Line 1035 in ab0d846