diff options
author | Lukas Slebodnik <lslebodn@redhat.com> | 2014-03-12 18:03:26 +0100 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2014-03-13 13:11:07 +0100 |
commit | a32fdbf60ace9b05ea2b823e1a539562cad53c8e (patch) | |
tree | 9bfa9aeb8a30e6b826b7a79908b743a7d2903eb6 /.git-commit-template | |
parent | 1d3cb26bfcd482e8b9718933eea1037eba1c49d7 (diff) | |
download | sssd-a32fdbf60ace9b05ea2b823e1a539562cad53c8e.tar.gz sssd-a32fdbf60ace9b05ea2b823e1a539562cad53c8e.tar.xz sssd-a32fdbf60ace9b05ea2b823e1a539562cad53c8e.zip |
KRB: Prevent dereference of a null pointer
Reported by: scan-build
krb5_free_principal(cc->context, ccprinc);
^~
warning: Access to field 'context' results in a dereference of a null pointer
(loaded from variable 'cc')
Variable 'cc' needn't be initialised if function sss_open_ccache_as_user
fails.
Reviewed-by: Sumit Bose <sbose@redhat.com>
Diffstat (limited to '.git-commit-template')
0 files changed, 0 insertions, 0 deletions