uudecode: dont return pointer to local variable

This commit is contained in:
Hiltjo Posthuma 2016-03-01 12:43:06 +01:00 committed by sin
parent d04402b6ea
commit a51b01ff90

View File

@ -38,7 +38,7 @@ tropen:
static void
parseheader(FILE *fp, const char *s, char **header, mode_t *mode, char **fname)
{
char bufs[PATH_MAX + 18]; /* len header + mode + maxname */
static char bufs[PATH_MAX + 18]; /* len header + mode + maxname */
char *p, *q;
size_t n;