We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c59c5a commit 4452361Copy full SHA for 4452361
tests/time.c
@@ -94,7 +94,7 @@ void time_stamp_syntax(void **state)
94
" GNazPwQKkRN20XPXV6nwwfoXmJQbsLNrLfkG\n" \
95
" J5D6fwFm8nN+6pBzeDQfsS3Ap3o= )"
96
97
- size_t size = strlen(FORMAT) + ZONE_BLOCK_SIZE + 1;
+ size_t size = strlen(FORMAT) + strlen(tests[i].timestamp) + ZONE_BLOCK_SIZE + 1;
98
char *rr = malloc((size_t)size + 1);
99
(void)snprintf(rr, size, FORMAT, tests[i].timestamp);
100
0 commit comments