We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在ef_find_sec_using_end_addr函数有考虑掉电导致的4字节不对齐问题,但该代码并没有生效,(addr + sec_size - continue_ff) * 4 / 4 - 4不能保证地址有效对齐,这会导致find_start_and_end_addr函数中log_end_addr的值不对齐,从而导致ef_port_write中size % 4的断言被命中,导致程序运行异常。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
在ef_find_sec_using_end_addr函数有考虑掉电导致的4字节不对齐问题,但该代码并没有生效,(addr + sec_size - continue_ff) * 4 / 4 - 4不能保证地址有效对齐,这会导致find_start_and_end_addr函数中log_end_addr的值不对齐,从而导致ef_port_write中size % 4的断言被命中,导致程序运行异常。
The text was updated successfully, but these errors were encountered: