]> git.ipfire.org Git - thirdparty/glibc.git/commit
CVE-2016-4429: sunrpc: Do not use alloca in clntudp_call [BZ #20112]
authorFlorian Weimer <fweimer@redhat.com>
Mon, 23 May 2016 18:18:34 +0000 (20:18 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Tue, 31 May 2016 09:33:20 +0000 (11:33 +0200)
commit444fb8c27d9b0d1671ce1a441faf52b24305a332
tree12c1364b14924df331f9c138cf2cae58065a6c79
parenta64be6fb2f1317ce7039a4bb8638bd0c30c31e28
CVE-2016-4429: sunrpc: Do not use alloca in clntudp_call [BZ #20112]

The call is technically in a loop, and under certain circumstances
(which are quite difficult to reproduce in a test case), alloca
can be invoked repeatedly during a single call to clntudp_call.
As a result, the available stack space can be exhausted (even
though individual alloca sizes are bounded implicitly by what
can fit into a UDP packet, as a side effect of the earlier
successful send operation).

(cherry picked from commit bc779a1a5b3035133024b21e2f339fe4219fb11c)
ChangeLog
NEWS
sunrpc/clnt_udp.c