[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160217.132923.1768889532497422907.davem@davemloft.net>
Date: Wed, 17 Feb 2016 13:29:23 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: joe.korty@...r.com
Cc: viro@...iv.linux.org.uk, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Fix kfree bug in sendmsg and recvmsg
From: Joe Korty <joe.korty@...r.com>
Date: Wed, 17 Feb 2016 11:38:05 -0500
> Fix kfree bug in recvmsg and sendmsg.
>
> We cannot kfree(iov) when iov points to an array on the
> stack, as that has the potential of corrupting memory.
>
> So re-introduce the if-stmt that used to protect kfree
> from this condition, code that was removed as part of
> a larger set of changes made by git commit da184284.
>
> Signed-off-by: Joe Korty <joe.korty@...r.com>
Please submit networking patches to netdev@...r.kernel.org, thank you.
Powered by blists - more mailing lists