1
linux/fs/sysfs
Rohan Kollambalath a54c1d1b85 sysfs:Addresses documentation in sysfs_merge_group and sysfs_unmerge_group.
These functions take a struct attribute_group as an input which has an
optional .name field. These functions rely on the .name field being
populated and do not check if its null. They pass this name into other
functions, eventually leading to a null pointer dereference.

This change simply updates the documentation of the function to make
this requirement clear.

Signed-off-by: Rohan Kollambalath <rkollamb@digi.com>
Link: https://lore.kernel.org/r/20240211223634.2103665-1-rohankollambalath@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-03-07 22:04:50 +00:00
..
dir.c fs/sysfs/dir.c : Fix typo in comment 2023-12-07 11:35:23 +09:00
file.c kernfs: sysfs: support custom llseek method for sysfs entries 2023-10-05 13:42:11 +02:00
group.c sysfs:Addresses documentation in sysfs_merge_group and sysfs_unmerge_group. 2024-03-07 22:04:50 +00:00
Kconfig
Makefile
mount.c
symlink.c
sysfs.h