Skip to content

Commit 4c0cd2c

Browse files
authored
fix: add bounds-checking adaption (#710)
1 parent b7c38f1 commit 4c0cd2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/cinatra/picohttpparser.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ static const char *get_token_to_eol(const char *buf, const char *buf_end,
238238
int *ret) {
239239
const char *token_start = buf;
240240
#ifdef CINATRA_SSE
241-
static const char ranges1[] =
241+
static const char ALIGNED(16) ranges1[] =
242242
"\0\010"
243243
/* allow HT */
244244
"\012\037"

0 commit comments

Comments
 (0)