Commit 0463e37
committed
Pad session ID with 0s if session ticket length is less than ID_LEN.
Prevents underflow in SetTicket.
Thanks to Arjuna Arya for discovering and reporting this.1 parent a08efc9 commit 0463e37
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34824 | 34824 | | |
34825 | 34825 | | |
34826 | 34826 | | |
| 34827 | + | |
| 34828 | + | |
34827 | 34829 | | |
34828 | 34830 | | |
34829 | 34831 | | |
| |||
34856 | 34858 | | |
34857 | 34859 | | |
34858 | 34860 | | |
| 34861 | + | |
34859 | 34862 | | |
34860 | | - | |
| 34863 | + | |
34861 | 34864 | | |
34862 | 34865 | | |
34863 | 34866 | | |
34864 | 34867 | | |
34865 | 34868 | | |
| 34869 | + | |
34866 | 34870 | | |
34867 | | - | |
| 34871 | + | |
34868 | 34872 | | |
34869 | 34873 | | |
34870 | 34874 | | |
| |||
0 commit comments