mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-25 13:14:07 +08:00
4f010246b4
__bpfilter_process_sockopt never initialized the pos variable passed
to the pipe write. This has been mostly harmless in the past as pipes
ignore the offset, but the switch to kernel_write now verified the
position, which can lead to a failure depending on the exact stack
initialization pattern. Initialize the variable to zero to make
rw_verify_area happy.
Fixes:
|
||
---|---|---|
.. | ||
.gitignore | ||
bpfilter_kern.c | ||
bpfilter_umh_blob.S | ||
Kconfig | ||
main.c | ||
Makefile | ||
msgfmt.h |