freebsd-dev/module
Brian Behlendorf 77a405ae52 Add missing NULL in zpl_xattr_handlers
The xattr_resolve_name() helper function expects the registered
list of xattr handlers to be NULL terminated.  This NULL was
accidentally missing which could result in a NULL dereference.

Interestingly this issue only manifested itself on certain 32-bit
systems.  Presumably on 64-bit kernels we just always happen to
get lucky and the memory following the structure is zeroed.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #594
2012-03-15 15:18:29 -07:00
..
avl Support custom build directories and move includes 2010-09-08 12:38:56 -07:00
nvpair Implement SA based xattrs 2011-11-28 15:45:51 -08:00
unicode Support custom build directories and move includes 2010-09-08 12:38:56 -07:00
zcommon Support ashift=13 for 8KB SSD block sizes 2012-02-13 12:25:27 -08:00
zfs Add missing NULL in zpl_xattr_handlers 2012-03-15 15:18:29 -07:00
zpios Linux 2.6.36 compat, use fops->unlocked_ioctl() 2010-11-10 17:01:08 -08:00
.gitignore Add .gitignore files to exclude build products 2010-01-08 11:35:17 -08:00
Makefile.in Fix 'make install' overly broad 'rm' 2011-07-20 09:38:51 -07:00