]> git.ipfire.org Git - thirdparty/shadow.git/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>
Thu, 6 Jun 2013 15:42:36 +0000 (17:42 +0200)
commit1c119819f98a0371df3fb15cbeb2ed13e041aa4c
treed096aa21588b065920ec2c73953a76d7606c6265
parent7351e4f1f009d3becdb67ac6bdc706c90bb0ed89
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