commit | 5e3171f658d1d2f1e0068f485b3fff7c164e05e4 | [log] [tgz] |
---|---|---|
author | Eric Paris <eparis@redhat.com> | Thu Jun 21 14:08:02 2012 -0400 |
committer | Eric Paris <eparis@redhat.com> | Thu Jun 28 11:21:16 2012 -0400 |
tree | a5536d808f1b9c4f5a89376574cda6cfa8e32b16 | |
parent | 5b344c112a3cea38d015271509a11e13a06f84b4 [diff] |
libselinux: seusers: getseuser: gracefully handle NULL service getseuser() would unconditionally check strlen on the service variable even though it could be NULL. Whoops. If service is NULL we should only match on *: entries. Signed-off-by: Eric Paris <eparis@redhat.com>