kadmind is parsing acls good deref NULL pointer on error
authorEzra Peisach <epeisach@mit.edu>
Sat, 6 Jun 2009 13:46:06 +0000 (13:46 +0000)
committerEzra Peisach <epeisach@mit.edu>
Sat, 6 Jun 2009 13:46:06 +0000 (13:46 +0000)
commit9321b02aabf84439e1d69f387f9ddf7433892e5e
tree935f2c023b08b15057f63b9605aa4c05ce777659
parent58989d37a8ce50e04452cdab47b897765a7e7d4e
kadmind is parsing acls good deref NULL pointer on error

In kadm5int_acl_parse_line, if you setup an acl w/ restrictions
(i.e. the four argument acl format) - but have an error parsing the
first few fields, acle is NULLed out, and is then derefed.

This adds a conditional and indents according to the krb5 c-style...

ticket: 6509

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