libhandle: zap fdhash_head in fshandle_destroy
PATCH 1/1 libhandle: zap fdhash_head in fshandle_destroy
From: Darrick J. Wong <[email protected]>
Set fdhash_head to zero once we've destroyed the handle list to avoid dangling pointer problems.
Signed-off-by Darrick J. Wong <[email protected]>
--- libhandle/handle.c | 1 + 1 file changed, 1 insertion(+)
libhandle/handle.c +1 -0
@@ -73,6 +73,7 @@ fshandle_destroy(void)free (h); h = nexth; } + fdhash_head =NULL ; }int
Quoted 4 lines · Darrick J. Wong
From: Darrick J. Wong <[email protected]>
Set
fdhash_headto zero once we've destroyed the handle list to avoid dangling pointer problems.
Ping?
(The xfsprogs update announcement said to resend, but meh.)
--D
Quoted 21 lines
Signed-off-by Darrick J. Wong <[email protected]>--- libhandle/handle.c | 1 + 1 file changed, 1 insertion(+)libhandle/handle.c +1
-1@@ -73,6 +73,7 @@ fshandle_destroy(void)free (h); h = nexth; } + fdhash_head =NULL ; }int --To unsubscribe from this list: send the line "unsubscribe linux-xfs" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html