mirror of
https://github.com/torvalds/linux.git
synced 2026-05-14 17:32:42 +02:00
The internal tag string doesn't contain a newline. Append one when
emitting the tag via sysfs.
[Stefan] Orthogonal to the newline issue, sysfs_emit(buf, "%s", fs->tag) is
needed to prevent format string injection.
Signed-off-by: Brian Foster <bfoster@redhat.com>
Fixes:
|
||
|---|---|---|
| .. | ||
| acl.c | ||
| control.c | ||
| cuse.c | ||
| dax.c | ||
| dev.c | ||
| dir.c | ||
| file.c | ||
| fuse_i.h | ||
| inode.c | ||
| ioctl.c | ||
| iomode.c | ||
| Kconfig | ||
| Makefile | ||
| passthrough.c | ||
| readdir.c | ||
| virtio_fs.c | ||
| xattr.c | ||