feature: fix feature config data initialization overflow 65/27965/2
authorBenoît Ganne <bganne@cisco.com>
Fri, 17 Jul 2020 09:54:28 +0000 (11:54 +0200)
committerMatthew Smith <mgsmith@netgate.com>
Thu, 23 Jul 2020 22:21:25 +0000 (22:21 +0000)
commitc79a14f13a0db6f59123e0e6b0b71d4f24433b01
tree1224e5f53ef51b3a9c1d69c80a60a2cb6d173adf
parent24ee40a5cb8925eadbdd612353218694c1d2f96c
feature: fix feature config data initialization overflow

Copy only exactly the data provided by the user even when it is not a
4-bytes multiple.

Type: fix

Change-Id: I2ef987c37e58523a38b46b09227529db2c26aa55
Signed-off-by: Benoît Ganne <bganne@cisco.com>
src/vnet/config.c