Commit 1f2e3d1
committed
Fix an OOBR in lwapp_control_print().
Ironically, the code I added to validate LWAPP packets better can do an
out-of-bounds read if a message element type is out of range. This bug
has been noted internally for some time, now Tommy DeVoss of Braze
Security has discovered it independently. Get the array size right to
fix this.1 parent 70140f5 commit 1f2e3d1
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
325 | 325 | | |
326 | 326 | | |
327 | 327 | | |
328 | | - | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
329 | 335 | | |
330 | 336 | | |
331 | 337 | | |
| |||
0 commit comments