The Linux getsockopt did not check the size of the provided buffer when
copying out the value, leading to buffer overflows (e.g., for TCP_INFO).
Fix is to use the smaller of the option value size and the provided
buffer.
Differential D55881
linux: Fix sockopt copyout Authored by chuck on Mon, Mar 16, 6:34 PM.
Details
Diff Detail
Event Timeline
| ||||||||||||||||||||||||||