Revert "[ALPS05247589] bpf: fix ubsan error"
ubsan error log
[name:ubsan&]index 8 is out of range for type char [0]
Call trace:
dump_backtrace+0x0/0x394
show_stack+0x14/0x1c
dump_stack+0xe4/0x134
ubsan_epilogue+0x14/0x114
__ubsan_handle_out_of_bounds+0x1fc/0x21c
array_map_update_elem+0x43c/0x490
SyS_bpf+0x296c/0x4898
__sys_trace_return+0x0/0x4
MTK-Commit-Id: 77ac33722f4c2fbab1ec71281a1ddccb80e2b5e7
Change-Id: I00e93a1556d8ef8ea8da2cb6b0eb4ced530299ad
Signed-off-by:
James Hsu <james.hsu@mediatek.com>
CR-Id: ALPS05247589
Feature: [Module]Kernel Maintenance
(cherry picked from commit 252e87cac5b668d39ad95c767eb0d15abef695a1)
* Fixes "reboot: Restarting system with command 'bpfloader-failed'"
Loading
Please register or sign in to comment