Commit 13ffca4
committed
Fix null dereference after failed channel lookup
When looking up the channel object for the current channel ID, if the
lookup failed, we still checked if the channel had an EOF with a null
pointer. That function, does check for NULL and error, but it is better
to error out sooner.
Affected function: ReceiveScpMessage.1 parent 05ec832 commit 13ffca4
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1423 | 1423 | | |
1424 | 1424 | | |
1425 | 1425 | | |
1426 | | - | |
| 1426 | + | |
1427 | 1427 | | |
1428 | | - | |
| 1428 | + | |
| 1429 | + | |
1429 | 1430 | | |
1430 | 1431 | | |
1431 | 1432 | | |
| |||
0 commit comments