]> git.proxmox.com Git - mirror_frr.git/blobdiff - ospf6d/ospf6_proto.h
ospf6d: CVE-2011-3323 (fortify packet reception)
[mirror_frr.git] / ospf6d / ospf6_proto.h
index a8c1b1a03b040aa6ee0017e0031b2190ca415094..646250047da86c1d3e2b6905795cfbeae765587c 100644 (file)
@@ -73,6 +73,7 @@
 #define OSPF6_OPT_V6 (1 << 0)   /* IPv6 forwarding Capability */
 
 /* OSPF6 Prefix */
+#define OSPF6_PREFIX_MIN_SIZE                  4U /* .length == 0 */
 struct ospf6_prefix
 {
   u_int8_t prefix_length;