[Bugs] [Bug 1272929] libgfapi: brick process crashes if attr KEY length > 255 for glfs_lgetxattr(...)

bugzilla at redhat.com bugzilla at redhat.com
Mon Dec 14 07:12:49 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1272929


--- Doc Text *updated* by Milind Changire <mchangir at redhat.com> ---
Cause: 
Missing validation of input parameters to the related libgfapi functions.

Consequence: 
Xattr key names greater than 255 characters caused the brick process to crash.

Fix: 
Xattr key name length validation has been added to pub_glfs_fgetxattr(), pub_glfs_fsetxattr(), glfs_getxattr_common(), glfs_setxattr_common(), glfs_h_getxattrs_common(), pub_glfs_h_setxattrs()

Result: 
Brick process no longer crashes if xattr key name length is zero or greater than 255.


-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=vcbQDvzlDz&a=cc_unsubscribe


More information about the Bugs mailing list