Closed zjgfree closed 1 year ago
源代码中出现了三处memeset函数以字节为单位进行初始化时空间大小分配错误的情况(第三个参数) 不修复会由于第三个参数(空间大小)的错误时部分值初始化失败 路径AliOS-Things/components/amp/engine/duktape_engine/addons/wireless/bt_host/bt_host_adapter.c第177行删去了外层sizeof, 路径AliOS-Things/components/amp/engine/quickjs_engine/addons/wireless/bt_host/bt_host_adapter.c第194行删去了外层sizeof, 路径AliOS-Things/components/amp_adapter/platform/aos/peripheral/aos_hal_gpio.c第36行将sizeof(gpioc)修改为sizeof(aos_gpioc_ref_t) 在vscode环境下成功解决原有问题
All committers have signed the CLA.
源代码中出现了三处memeset函数以字节为单位进行初始化时空间大小分配错误的情况(第三个参数) 不修复会由于第三个参数(空间大小)的错误时部分值初始化失败 路径AliOS-Things/components/amp/engine/duktape_engine/addons/wireless/bt_host/bt_host_adapter.c第177行删去了外层sizeof, 路径AliOS-Things/components/amp/engine/quickjs_engine/addons/wireless/bt_host/bt_host_adapter.c第194行删去了外层sizeof, 路径AliOS-Things/components/amp_adapter/platform/aos/peripheral/aos_hal_gpio.c第36行将sizeof(gpioc)修改为sizeof(aos_gpioc_ref_t) 在vscode环境下成功解决原有问题