diff --git a/net/zebra/patches/patch-ospf6d_ospf6_message_c b/net/zebra/patches/patch-ospf6d_ospf6_message_c new file mode 100644 index 00000000000..66e2f232fd7 --- /dev/null +++ b/net/zebra/patches/patch-ospf6d_ospf6_message_c @@ -0,0 +1,12 @@ +$OpenBSD: patch-ospf6d_ospf6_message_c,v 1.1 2003/06/19 13:58:05 avsm Exp $ +--- ospf6d/ospf6_message.c.orig Wed Jun 18 03:00:14 2003 ++++ ospf6d/ospf6_message.c Thu Jun 19 02:18:41 2003 +@@ -1421,7 +1421,7 @@ ospf6_message_send (unsigned char type, + if (o6i->lladdr) + inet_ntop (AF_INET6, o6i->lladdr, src_name, sizeof (src_name)); + else +- memcpy (src_name, "Unknown", sizeof (src_name)); ++ strlcpy (src_name, "Unknown", sizeof (src_name)); + zlog_info ("Send %s on %s", + ospf6_message_type_string[type], o6i->interface->name); + zlog_info (" %s -> %s", src_name, dst_name);