Commit 6c394c1
committed
Pin expectMsgId after KEXDH_GEX_GROUP
- Set expectMsgId to MSGID_KEXDH_GEX_INIT so the server rejects
any other KEX message at this stage (RFC 4419 sec 3).
- Reject NULL ssh->handshake in the entry check now that the
success path dereferences it.
Issue: F-36681 parent 5905e83 commit 6c394c1
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13476 | 13476 | | |
13477 | 13477 | | |
13478 | 13478 | | |
13479 | | - | |
| 13479 | + | |
13480 | 13480 | | |
13481 | 13481 | | |
13482 | 13482 | | |
| |||
13523 | 13523 | | |
13524 | 13524 | | |
13525 | 13525 | | |
13526 | | - | |
| 13526 | + | |
| 13527 | + | |
| 13528 | + | |
13527 | 13529 | | |
| 13530 | + | |
13528 | 13531 | | |
13529 | 13532 | | |
13530 | 13533 | | |
| |||
0 commit comments