RT-Thread-packages / at_device

AT component porting or samples for different devices
Apache License 2.0
215 stars 182 forks source link

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

Closed sctarget closed 1 year ago

sctarget commented 1 year ago

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.

mysterywolf commented 1 year ago

感谢提交PR!

supperthomas commented 1 year ago

https://github.com/RT-Thread/packages/issues/1618

Guozhanxin commented 1 year ago

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

sctarget commented 1 year ago

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