[TD-4056]<fix>: fix possible char string buffer length overflow

This commit is contained in:
Minglei Jin 2021-05-06 14:36:40 +08:00
parent 1466505e4b
commit 17ddb4587d
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ typedef struct HttpThread {
EpollFd pollFd;
int32_t numOfContexts;
int32_t threadId;
char label[HTTP_LABEL_SIZE];
char label[HTTP_LABEL_SIZE << 1];
bool (*processData)(HttpContext *pContext);
} HttpThread;