1
Description: subordinateio: Fix subordinate_parse to have an internal static buffer
2
subordinate_parse is supposed to return a static structure that
3
represents one line in /etc/subuid or /etc/subgid. I goofed and
4
failed to make the variable rangebuf that holds the username of
5
in the returned structure static.
7
Add this missing static specification.
8
Author: <Eric W. Biederman" <ebiederm@xmission.com>
11
Index: shadow-4.1.5.1/lib/subordinateio.c
12
===================================================================
13
--- shadow-4.1.5.1.orig/lib/subordinateio.c 2013-02-04 11:56:40.265335433 -0600
14
+++ shadow-4.1.5.1/lib/subordinateio.c 2013-02-04 12:32:46.653298752 -0600
16
static void *subordinate_parse (const char *line)
18
static struct subordinate_range range;
19
- char rangebuf[1024];
20
+ static char rangebuf[1024];
23
char *fields[NFIELDS];