Commit 15bd75d
committed
TLS 1.3: address review of post-handshake defrag buffer relocation
- wolfSSL_ResourceFree(): reset pendingMsgSz/pendingMsgOffset/pendingMsgType
alongside freeing ssl->pendingMsg.
- test_tls13_fragmented_session_ticket: ForceZero() preMasterSecret and the
Arrays struct before freeing so WOLFSSL_CHECK_MEM_ZERO builds do not abort.1 parent d9b05f0 commit 15bd75d
2 files changed
Lines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8864 | 8864 | | |
8865 | 8865 | | |
8866 | 8866 | | |
| 8867 | + | |
| 8868 | + | |
| 8869 | + | |
| 8870 | + | |
8867 | 8871 | | |
8868 | 8872 | | |
8869 | 8873 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5689 | 5689 | | |
5690 | 5690 | | |
5691 | 5691 | | |
5692 | | - | |
| 5692 | + | |
| 5693 | + | |
| 5694 | + | |
| 5695 | + | |
| 5696 | + | |
| 5697 | + | |
| 5698 | + | |
| 5699 | + | |
5693 | 5700 | | |
5694 | 5701 | | |
5695 | 5702 | | |
| |||
0 commit comments