summaryrefslogtreecommitdiffhomepage
path: root/.gitignore
diff options
context:
space:
mode:
authorrofl0r <rofl0r@users.noreply.github.com>2020-03-18 12:31:13 +0000
committerrofl0r <rofl0r@users.noreply.github.com>2020-03-18 12:31:15 +0000
commitd98aabf47f43289f9e66230b3c70a9d682c7865c (patch)
tree22863f00e62fcb68a27444a1d2aa796e93ec1109 /.gitignore
parent3230ce0bc2b7d5c1379c358f4e69346d6ed43429 (diff)
transparent: fix invalid memory access
getsockname() requires addrlen to be set to the size of the sockaddr struct passed as the addr, and a check whether the returned addrlen exceeds the initially passed size (to determine whether the address returned is truncated). with a request like "GET /\r\n\r\n" where length is 0 this caused the code to assume success and use the values of the uninitialized sockaddr struct.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions