]> Zhao Yanbai Git Server - minix.git/commit
inet: detect short TCP option lengths 96/2896/1
authorDavid van Moolenbroek <david@minix3.org>
Tue, 18 Nov 2014 12:45:46 +0000 (12:45 +0000)
committerDavid van Moolenbroek <david@minix3.org>
Tue, 18 Nov 2014 12:53:18 +0000 (12:53 +0000)
commit65eccd1f74fb9a088de3a5c528079d45e11df3ac
tree838198abe2bc4a6a3125865c45542ba20e8a3e67
parentdb1ca87b7d6ec2c317afc4d32fc48e32496ca636
inet: detect short TCP option lengths

Previously, a TCP option length of zero would cause inet to end up
in an infinite loop.

This resolves #7, reported by Alejandro Hernandez.

Change-Id: I45ad4c789d10d8e202cf6e140a7b9db7a6543c75
minix/net/inet/generic/tcp_lib.c