diff options
| author | Yuanhan Liu <[email protected]> | 2012-06-16 04:40:55 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2012-06-16 15:36:03 +0000 |
| commit | b56a39ac263e5b8cafedd551a49c2105e68b98c2 (patch) | |
| tree | 0dbbe8929783ab347b3d40d4ed79ea87d5b3966d /arch/powerpc/lib/code-patching.c | |
| parent | printk: use mutex lock to stop syslog_seq from going wild (diff) | |
| download | kernel-b56a39ac263e5b8cafedd551a49c2105e68b98c2.tar.gz kernel-b56a39ac263e5b8cafedd551a49c2105e68b98c2.zip | |
printk: return -EINVAL if the message len is bigger than the buf size
Just like what devkmsg_read() does, return -EINVAL if the message len is
bigger than the buf size, or it will trigger a segfault error.
Acked-by: Kay Sievers <[email protected]>
Acked-by: Fengguang Wu <[email protected]>
Signed-off-by: Yuanhan Liu <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions
