libmnl [PATCH 5/5] attr: validate MNL_TYPE_MSEC same as MNL_TYPE_U64

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

 



From: Ken-ichirou MATSUZAWA <chamas@xxxxxxxxxxxxx>
Date: Tue, 3 Dec 2013 09:29:24 +0900
Subject: [PATCH 5/5] attr: validate MNL_TYPE_MSEC same as MNL_TYPE_U64

---
 src/attr.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/src/attr.c b/src/attr.c
index 1136c50..c3c57e6 100644
--- a/src/attr.c
+++ b/src/attr.c
@@ -200,6 +200,7 @@ static const size_t mnl_attr_data_type_len[MNL_TYPE_MAX] = {
        [MNL_TYPE_U16]          = sizeof(uint16_t),
        [MNL_TYPE_U32]          = sizeof(uint32_t),
        [MNL_TYPE_U64]          = sizeof(uint64_t),
+       [MNL_TYPE_MSECS]        = sizeof(uint64_t),
 };

 /**
--
1.7.10.4
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux