Commit 97c6772
committed
Fix use-after-free in tcp_error
When tcp_error is called, the pcb has already been freed by LwIP.
Remove the attempt to write through the invalidated pointer.1 parent f2ec361 commit 97c6772
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
484 | 484 | | |
485 | 485 | | |
486 | 486 | | |
487 | | - | |
| 487 | + | |
| 488 | + | |
488 | 489 | | |
489 | 490 | | |
490 | 491 | | |
| |||
0 commit comments