summaryrefslogtreecommitdiff
path: root/Kernel/Syscalls
diff options
context:
space:
mode:
authorGunnar Beutner <gbeutner@serenityos.org>2021-05-16 19:40:43 +0200
committerAndreas Kling <kling@serenityos.org>2021-05-17 13:32:19 +0200
commit529f605ac801a541b1206ce06d497f8835ca7412 (patch)
treeaa14e1f3d6b3831b86f1915b0030b44af14e7fde /Kernel/Syscalls
parentfbfd0ed5ab4436b27736dfe0b1b16de86ad7d5aa (diff)
downloadserenity-529f605ac801a541b1206ce06d497f8835ca7412.zip
UE: Make sure the buffers for get{sock,peer}name() are large enough
Previously struct sockaddr was used which isn't guaranteed to be large enough to hold the socket address get{sock,peer}name() returns. Also, the addrlen argument was initialized incorrectly and should instead use the address length specified by the caller.
Diffstat (limited to 'Kernel/Syscalls')
0 files changed, 0 insertions, 0 deletions