]> granicus.if.org Git - shadow/commit
subordinateio: Fix subordinate_parse to have an internal static buffer
authorSerge Hallyn <serge.hallyn@ubuntu.com>
Thu, 6 Jun 2013 15:42:36 +0000 (17:42 +0200)
committerSerge Hallyn <serge.hallyn@ubuntu.com>
Mon, 5 Aug 2013 15:08:45 +0000 (10:08 -0500)
commit3b3c8001fe35f2d960a45abc9490c3d46e718e16
treecf08e5a4417aa1e8f54839314f847ceeecf0aa63
parent5f2e4b18f82a4d62da58336f77af5496fd85761c
subordinateio: Fix subordinate_parse to have an internal static buffer

subordinate_parse is supposed to return a static structure that
represents one line in /etc/subuid or /etc/subgid.  I goofed and
failed to make the variable rangebuf that holds the username of
in the returned structure static.

Add this missing static specification.

Author: <Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
lib/subordinateio.c