Fixes CVE-2017-9022, CVE-2017-9023. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Signed-off-by: Steven Barth <steven@midlink.org>