mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-07-15 16:58:34 +00:00
address PR comments
This commit is contained in:
parent
8d9fd2d6c1
commit
d85a065cc7
|
@ -152,7 +152,7 @@ GET_U64_FROM_ADDR(uint32 *addr)
|
||||||
#define read_byte_array(p, p_end, addr, len) \
|
#define read_byte_array(p, p_end, addr, len) \
|
||||||
do { \
|
do { \
|
||||||
CHECK_BUF(p, p_end, len); \
|
CHECK_BUF(p, p_end, len); \
|
||||||
bh_memcpy_s(addr, p_end - p, p, len); \
|
bh_memcpy_s(addr, len, p, len); \
|
||||||
p += len; \
|
p += len; \
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user