ceph: fix xattr dangling pointer / double free
authorSage Weil <sage@newdream.net>
Thu, 29 Apr 2010 16:28:11 +0000 (09:28 -0700)
committerSage Weil <sage@newdream.net>
Mon, 17 May 2010 22:25:25 +0000 (15:25 -0700)
commita6424e48c8d54a5795430b07c4487f1ed280df4e
tree34731c9cb1df3cfe885d4526ce79ca50c50b7b4a
parent9dd4658db1be5ca92c2ed2fd7a100d973125d9c5
ceph: fix xattr dangling pointer / double free

If we use the xattr_blob, clear the pointer so we don't release the memory
at the bottom of the fuction.

Reported-by: Henry C Chang <henry_c_chang@tcloudcomputing.com>
Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/inode.c