lkml.org 
[lkml]   [2016]   [Feb]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] Fix kfree bug in sendmsg and recvmsg
From
From: Joe Korty <joe.korty@ccur.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@ccur.com>

Please submit networking patches to netdev@vger.kernel.org, thank you.

\
 
 \ /
  Last update: 2016-02-17 20:21    [W:0.046 / U:0.304 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site