mirror of
https://github.com/libarchive/libarchive.git
synced 2026-01-27 01:44:27 +00:00
Fix potential overflow warning in cpio test_option_t (#2250)
Fixes an error from #2237.
This commit is contained in:
parent
13c710a825
commit
3fdf9bf80f
@ -33,7 +33,7 @@ DEFINE_TEST(test_option_t)
|
||||
char *p;
|
||||
int r;
|
||||
time_t mtime;
|
||||
char date[32];
|
||||
char date[48];
|
||||
char date2[32];
|
||||
struct tm *tmptr;
|
||||
#if defined(HAVE_LOCALTIME_R) || defined(HAVE_LOCALTIME_S)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user