feature: fix feature config data initialization overflow 93/28493/2
authorBenoît Ganne <bganne@cisco.com>
Fri, 17 Jul 2020 09:54:28 +0000 (11:54 +0200)
committerAndrew Yourtchenko <ayourtch@gmail.com>
Tue, 18 Aug 2020 19:47:21 +0000 (19:47 +0000)
commitcafaac98e7424b649f34da78620a77ef0653c08b
tree52a7a74f8d720d24eff9d454a70f30c4a9e19251
parent76797dc615b641362692337fbbaedd0f0cabb00e
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>
(cherry picked from commit c79a14f13a0db6f59123e0e6b0b71d4f24433b01)
src/vnet/config.c