Fix tls_recv buffer overflow bug

This commit is contained in:
Zhi Guan
2024-02-06 22:01:33 +08:00
parent 983fa90978
commit b58ea74f96
2 changed files with 2 additions and 2 deletions

View File

@@ -718,7 +718,7 @@ typedef struct {
uint8_t record[TLS_MAX_RECORD_SIZE];
uint8_t databuf[TLS_MAX_PLAINTEXT_SIZE];
uint8_t databuf[TLS_MAX_RECORD_SIZE];
uint8_t *data;
size_t datalen;