Fix possible infinite loop in IPv6 hop-by-hop header parsing 32/732/2
authorYoann Desmouceaux <ydesmouc@cisco.com>
Mon, 11 Apr 2016 08:38:23 +0000 (10:38 +0200)
committerGerrit Code Review <gerrit@fd.io>
Mon, 11 Apr 2016 14:49:56 +0000 (14:49 +0000)
commitf53b7d5e97665b6598adc376f214ed88bf2b33d4
tree6481b38236976132b7e2736a97217966c2214030
parent5ac4a0f76a4f871e6e330e038d297d2d1c4c4f38
Fix possible infinite loop in IPv6 hop-by-hop header parsing

Unknown hop-by-hop options are currently not processed, which triggers an
infinite loop due to the pointer not advancing further in the header.

Change-Id: Idf9176090e042b17aac1baa25a6cb4beb8c199d8
Signed-off-by: Yoann Desmouceaux <ydesmouc@cisco.com>
vnet/vnet/ip/ip6_hop_by_hop.c