Fix app manager parse applet name issue (#280)
This commit is contained in:
@ -2060,7 +2060,8 @@ load_table_segment_section(const uint8 *buf, const uint8 *buf_end, WASMModule *m
|
||||
}
|
||||
for (j = 0; j < function_count; j++) {
|
||||
read_leb_uint32(p, p_end, function_index);
|
||||
if (function_index >= module->function_count + module->function_count) {
|
||||
if (function_index >= module->import_function_count
|
||||
+ module->function_count) {
|
||||
set_error_buf(error_buf, error_buf_size,
|
||||
"Load table segment section failed: "
|
||||
"unknown function");
|
||||
|
||||
Reference in New Issue
Block a user