odhcp6c: remove len check in option parsing handle
authorHans Dedecker <dedeckeh@gmail.com>
Wed, 20 Jun 2018 12:42:11 +0000 (14:42 +0200)
committerHans Dedecker <dedeckeh@gmail.com>
Wed, 20 Jun 2018 13:27:42 +0000 (15:27 +0200)
commitb99c1f63b6e1897de84e0a9dc420a240271fb70c
tree771be068c14efaa95923d2a346999581c2d9b338
parentca8822bc7bd0797eaa6b6160f234471ee1a8fb2c
odhcp6c: remove len check in option parsing handle

Replace len check by checking src to determine end of option data in the
different option data handlers.
This will make Coverity happy as reported in CID1437049, CID1430905,
CID1430898 and CID1430848

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
src/odhcp6c.c