Skip to content
New issue

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

[HUST CSE] [class] fix: Fixed the bug of array out of bounds #193

Merged
merged 3 commits into from
Jul 9, 2023

Conversation

sctarget
Copy link
Contributor

Fixed the bug of array out of bounds. The bug is in class/mw31/at_socket_mw31.c
Accessing the temp array is out of bounds when the loop starts.

@sctarget sctarget closed this Apr 26, 2023
@sctarget sctarget reopened this Apr 26, 2023
@sctarget sctarget marked this pull request as ready for review April 26, 2023 06:15
@mysterywolf mysterywolf requested a review from Guozhanxin April 26, 2023 13:31
@mysterywolf
Copy link
Member

感谢提交PR!

@supperthomas
Copy link

RT-Thread/packages#1618

@mysterywolf mysterywolf requested a review from xiangxistu June 3, 2023 15:48
@Guozhanxin
Copy link
Contributor

这个class是我写的,对接的模块是ali-devilope的那块板子上的模块。看起来这里是有点问题,但是肯定不能按照pr里的方式改,这样逻辑就不对了。

sctarget added 2 commits July 6, 2023 11:14
修改代码,不改变源代码逻辑
修改数组越界的bug,不改变原代码逻辑
@sctarget
Copy link
Contributor Author

sctarget commented Jul 6, 2023

已修改代码,不改变原始代码逻辑。

@mysterywolf mysterywolf merged commit 6cb050b into RT-Thread-packages:master Jul 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants