[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Events with optional principals



Luke Howard <lukeh@PADL.COM> writes:
> Thus, shouldn't event2string() check first whether principal
> is NULL before trying to unparse it?

of course.

> Also, in get_s.c, I needed to change kadm5_s_get_principal()
> to check for nullity of ent.created_by.principal. There may
> be other cases, too, but these two changes seem to work for
> me.

I've only been able find these two places.  Thanks for the patch.

/assar