mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
gcc12: fix potential test app string overflow
This commit is contained in:
parent
2cf7e0f4ec
commit
8782a47a05
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ callback_dumb_increment(struct lws *wsi, enum lws_callback_reasons reason,
|
|||
#endif
|
||||
#endif
|
||||
const char *which = "http";
|
||||
char which_wsi[10], buf[50 + LWS_PRE];
|
||||
char which_wsi[20], buf[50 + LWS_PRE];
|
||||
int n;
|
||||
|
||||
switch (reason) {
|
||||
|
|
Loading…
Add table
Reference in a new issue