uudecode: dont return pointer to local variable
This commit is contained in:
parent
d04402b6ea
commit
a51b01ff90
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user