Add more checks to enhance security (#446)

add more checks to enhance security
clear "wasi proc exit" exception before return to caller in wasm/aot call functions
fix memory profiling issue
change movdqa to movdqu in simd invokeNative asm codes to fix issue of unaligned address access
move setjmp/longjmp from libc-builtin to libc-emcc
fix zephyr platform compilation issue in latest zephyr version
This commit is contained in:
Wenyong Huang
2020-11-24 14:00:09 +08:00
committed by GitHub
parent f4770ae8c8
commit 74be7a0b7c
24 changed files with 397 additions and 216 deletions

View File

@ -2999,7 +2999,7 @@ create_sections(const uint8 *buf, uint32 size,
section->section_body = (uint8*)p;
section->section_body_size = section_size;
if (!*p_section_list)
if (!section_list_end)
*p_section_list = section_list_end = section;
else {
section_list_end->next = section;