]> Git Repo - linux.git/commit
[PATCH] sysfs: zero terminate sysfs write buffers
authorGreg Kroah-Hartman <[email protected]>
Fri, 31 Mar 2006 23:37:06 +0000 (15:37 -0800)
committerLinus Torvalds <[email protected]>
Sun, 2 Apr 2006 20:03:31 +0000 (13:03 -0700)
commit6e0dd741a89be35defa05bd79f4211c5a2762825
tree565d0328e9e353884e9d5785590e6d4be99e0964
parent597a7679dd83691be2f3a53e1f3f915b4a7f6eba
[PATCH] sysfs: zero terminate sysfs write buffers

No one should be writing a PAGE_SIZE worth of data to a normal sysfs
file, so properly terminate the buffer.

Thanks to Al Viro for pointing out my supidity here.

Signed-off-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
fs/sysfs/file.c
This page took 0.04289 seconds and 4 git commands to generate.