Merge pull request #6011 from taosdata/fix/TD-4056
[TD-4056]<fix>: fix possible char string buffer length overflow
This commit is contained in:
commit
a392f3104a
22
.drone.yml
22
.drone.yml
|
@ -7,27 +7,19 @@ platform:
|
|||
arch: amd64
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: gcc
|
||||
- name: smoke_test
|
||||
image: python:3.8
|
||||
commands:
|
||||
- apt-get update
|
||||
- apt-get install -y cmake build-essential
|
||||
- apt-get install -y cmake build-essential gcc
|
||||
- pip3 install psutil
|
||||
- pip3 install guppy3
|
||||
- pip3 install src/connector/python/linux/python3/
|
||||
- mkdir debug
|
||||
- cd debug
|
||||
- cmake ..
|
||||
- make
|
||||
when:
|
||||
branch:
|
||||
- develop
|
||||
- master
|
||||
|
||||
- name: smoke_test
|
||||
image: python:3.8
|
||||
commands:
|
||||
- pip3 install psutil
|
||||
- pip3 install guppy3
|
||||
- pip3 install src/connector/python/linux/python3/
|
||||
- cd tests
|
||||
- cd ../tests
|
||||
- ./test-all.sh smoke
|
||||
when:
|
||||
branch:
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue