summaryrefslogtreecommitdiffstats
path: root/python/examples
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2014-05-28 10:40:27 -0700
committerJeremy Allison <jra@samba.org>2014-06-25 01:33:13 +0200
commitd77a74237e660dd2ce9f1e14b02635f8a2569653 (patch)
treee65a8c6280300954efecf12e17fa6e201950d996 /python/examples
parentd097898020c77c34c99cda17f386d445c7980bed (diff)
downloadsamba-d77a74237e660dd2ce9f1e14b02635f8a2569653.tar.gz
samba-d77a74237e660dd2ce9f1e14b02635f8a2569653.tar.xz
samba-d77a74237e660dd2ce9f1e14b02635f8a2569653.zip
s3: nmbd: Fix bug 10633 - nmbd denial of service
The Linux kernel has a bug in that it can give spurious wakeups on a non-blocking UDP socket for a non-deliverable packet. When nmbd was changed to use non-blocking sockets it became vulnerable to a spurious wakeup from poll/epoll. Fix sys_recvfile() to return on EWOULDBLOCK/EAGAIN. CVE-2014-0244 https://bugzilla.samba.org/show_bug.cgi?id=10633 Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'python/examples')
0 files changed, 0 insertions, 0 deletions