summaryrefslogtreecommitdiff
path: root/src/util/sss_utf8.c
diff options
context:
space:
mode:
authorPavel Březina <pbrezina@redhat.com>2013-08-22 13:58:27 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-08-26 11:53:49 +0200
commit2211abf772cb8b28356e57b8c64a4328c9b2c3dc (patch)
tree9b232ee953c9537ce4803e3e2ace14b79331fdf9 /src/util/sss_utf8.c
parent9b43a2a6462b07075d403dbd5de487cbe7ada92c (diff)
downloadsssd-2211abf772cb8b28356e57b8c64a4328c9b2c3dc.tar.gz
sssd-2211abf772cb8b28356e57b8c64a4328c9b2c3dc.tar.bz2
sssd-2211abf772cb8b28356e57b8c64a4328c9b2c3dc.zip
sudo: do not strdup usn on ENOENT
If USN attribute is not present, we call strdup on uninitialized variable. This may cause segfault, or if we are lucky and usn is NULL it will return ENOMEM.
Diffstat (limited to 'src/util/sss_utf8.c')
0 files changed, 0 insertions, 0 deletions