Description: getxattr()/lgetxattr() and presumably fgetxattr() make strace call free() on an invalid pointer when they return 0 byte values. Eg. % attr -s mime_type -V '' foo Attribute "mime_type" set to a 0 byte value for foo: % attr -g mime_type foo Attribute "mime_type" had a 0 byte value for foo: % strace attr -g mime_type foo [...] lgetxattr("j/src/and-httpd", "user.mime_type"*** glibc detected *** strace: free(): invalid pointer: 0x082fa530 *** How reproducible: Always
Created attachment 135384 [details] strace-4.5.14-alt-print_xattr_val.patch Proposed fix for the memory corruption bug.
Fixed upstream.
these bugs are fixed upstream in the coming 4.5.15 release
4.5.15 in rawhide and in updates for fc5 and fc6 fixes this.