Commit 8d4d1dc
fix potential arrary overflow problem of _recvBuffer (#214)
* fix potential arrary overflow problem of _recvBuffer
* Update src/utility/HCI.cpp
make the code eaiser to read
Co-authored-by: Alexander Entinger <consulting@lxrobotics.com>
* optimize code of potential overflow _recvBuffer
* add the debug msg when the _recvBuffer overflow
Co-authored-by: Alexander Entinger <consulting@lxrobotics.com>1 parent 95b2449 commit 8d4d1dc
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
115 | 122 | | |
116 | 123 | | |
117 | 124 | | |
| |||
0 commit comments