kadm5int_acl_parse_restrictions could ref uninitialized variable
authorEzra Peisach <epeisach@mit.edu>
Sat, 6 Jun 2009 03:55:44 +0000 (03:55 +0000)
committerEzra Peisach <epeisach@mit.edu>
Sat, 6 Jun 2009 03:55:44 +0000 (03:55 +0000)
commit58989d37a8ce50e04452cdab47b897765a7e7d4e
tree96e5a892211b09ebfcd750016afdbec1732b28e7
parent9d4a7b700805858bc1a091cd6561ee9f5aef20af
kadm5int_acl_parse_restrictions could ref uninitialized variable

The variable sp is never initialized. If the first argument to the
function is null, the code falls through to freeing sp if valid.
However, sp is never set.

ticket: 6508

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22402 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/kadm5/srv/server_acl.c