Commit 7dc10cd
committed
fix(zwave_rx): Harden zwave_rx_zwapi_callbacks.c
Add extra check to prevent small buffers attacks.
Bug-SiliconLabs: UIC-3672
Relate-to: SLVDBBP-3169959
Signed-off-by: Philippe Coval <[email protected]>1 parent 09aa4ef commit 7dc10cd
File tree
1 file changed
+5
-2
lines changed- applications/zpc/components/zwave/zwave_rx/src
1 file changed
+5
-2
lines changedLines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
| 209 | + | |
209 | 210 | | |
210 | | - | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
211 | 214 | | |
212 | 215 | | |
213 | 216 | | |
| |||
239 | 242 | | |
240 | 243 | | |
241 | 244 | | |
242 | | - | |
| 245 | + | |
243 | 246 | | |
244 | 247 | | |
245 | 248 | | |
| |||
0 commit comments