From: Thomas Graf <[EMAIL PROTECTED]> Date: Tue, 22 Aug 2006 15:40:49 +0200
> Searching for '\0' with strnchr() doesn't really work :-) > > Introduces a new attribute type NLA_NUL_STRING to support NUL > terminated strings. Attributes of this kind require to carry > a terminating NUL within the maximum specified in the policy. > > The `old' NLA_STRING which is not required to be NUL terminated > is extended to provide means to specify a maximum length of the > string. > > Aims at easing the pain with using nla_strlcpy() on temporary > buffers. > > Signed-off-by: Thomas Graf <[EMAIL PROTECTED]> Applied, thanks Thomas. - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html