]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r341335:
authortuexen <tuexen@FreeBSD.org>
Tue, 4 Dec 2018 22:25:24 +0000 (22:25 +0000)
committertuexen <tuexen@FreeBSD.org>
Tue, 4 Dec 2018 22:25:24 +0000 (22:25 +0000)
commit808a6e26095adfe4064a0562452cc005c1b95513
tree9188c356847f28986c16ef3e2df25d625e9c98b4
parent9ef22dc02d668468f70bf4e274336b36feb6cdef
MFC r341335:

Limit option_len for the TCP_CCALGOOPT.

Limiting the length to 2048 bytes seems to be acceptable, since
the values used right now are using 8 bytes.
This issue was found by using syzkaller.

Reviewed by: glebius, bz, rrs
Sponsored by: Netflix, Inc.
Differential Revision: https://reviews.freebsd.org/D18366
sys/netinet/cc/cc.h
sys/netinet/tcp_usrreq.c