mirror of
https://repo.or.cz/socat.git
synced 2025-07-08 05:36:32 +00:00
Fixed stack overflow in error.c:msg2()
This commit is contained in:
parent
15e38be2f5
commit
9502d092a2
2 changed files with 6 additions and 1 deletions
2
error.c
2
error.c
|
@ -318,7 +318,7 @@ void msg2(
|
|||
struct tm struct_tm;
|
||||
#endif
|
||||
#define BUFLEN 512
|
||||
char buff[BUFLEN], *bufp, *syslp;
|
||||
char buff[BUFLEN+1], *bufp, *syslp;
|
||||
size_t bytes;
|
||||
|
||||
#if HAVE_CLOCK_GETTIME
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue