diff options
author | Phil Blundell <philb@gnu.org> | 2010-11-24 11:51:47 -0800 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-04-17 16:16:01 -0400 |
commit | 41823d702430b1bdd671b55699b0d4bab806b4af (patch) | |
tree | 52d4dd5c1bb5f0058b9eb4dc8c49bc8b1920b29a /net/unix/af_unix.c | |
parent | c076522aa8a8ab5d20994a8b71749c40c623ad2e (diff) |
econet: fix CVE-2010-3848
commit a27e13d370415add3487949c60810e36069a23a6 upstream
Don't declare variable sized array of iovecs on the stack since this
could cause stack overflow if msg->msgiovlen is large. Instead, coalesce
the user-supplied data into a new buffer and use a single iovec for it.
Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions