[krbdev.mit.edu #5742] NIM: FEATURE: LIB: the khc_read_multi_string() etc APIs should handle NULL returns

Jeffrey Altman via RT rt at krbdev.mit.edu
Thu Sep 13 17:44:00 EDT 2007


If an API is returning a multi string and the string list being
returned is empty, we should use a separate return value.  This
way, callers won't have to allocate two words for the double NULL
terminator only to find that the multi string doesn't actually
contain any strings.




More information about the krb5-bugs mailing list