https://github.com/torvalds/linux
Revision c802d759623acbd6e1ee9fbdabae89159a513913 authored by Wei Yongjun on 09 April 2013, 02:07:19 UTC, committed by David S. Miller on 09 April 2013, 02:49:23 UTC
sizeof() when applied to a pointer typed expression gives the size of the
pointer, not that of the pointed data.
Introduced by commit 3ce5ef(netrom: fix info leak via msg_name in nr_recvmsg)

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 65d8013
History
Tip revision: c802d759623acbd6e1ee9fbdabae89159a513913 authored by Wei Yongjun on 09 April 2013, 02:07:19 UTC
netrom: fix invalid use of sizeof in nr_recvmsg()
Tip revision: c802d75
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.1 KB
.mailmap -rw-r--r-- 4.4 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 93.0 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 243.9 KB
Makefile -rw-r--r-- 47.0 KB
README -rw-r--r-- 18.3 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top