[Ocfs2-devel] [patch] ocfs2: fix recent memory corruption bug

Dan Carpenter dan.carpenter at oracle.com
Thu Aug 1 06:58:30 PDT 2013


On Thu, Aug 01, 2013 at 04:55:26PM +0300, Dan Carpenter wrote:
> The pointer math in 6fdf3af1d2 "ocfs2: fix null pointer dereference in
> ocfs2_dir_foreach_blk_id()" isn't correct so it will zero out the wrong
> memory.
> 

I sent this patch prematurely...  Really the memset is not needed
because the values are already initialized to zero.  Let me send a
v2 patch that removes the memset.

Sorry, I just wanted to fix this right away because of the memory
corruption.

regards,
dan carpenter




More information about the Ocfs2-devel mailing list