diff options
| author | 2012-09-27 22:21:19 +0000 | |
|---|---|---|
| committer | 2012-10-01 17:15:06 -0400 | |
| commit | f674e72ff1aad23a99c7c205473cf02c85c2ac33 (patch) | |
| tree | 032274dd7d42c5feeb17fe8b944ce9709001e339 /tools/perf/util/trace-event-scripting.c | |
| parent | IB/ipoib: Add more rtnl_link_ops callbacks (diff) | |
| download | wireguard-linux-f674e72ff1aad23a99c7c205473cf02c85c2ac33.tar.xz wireguard-linux-f674e72ff1aad23a99c7c205473cf02c85c2ac33.zip | |
net/key/af_key.c: add range checks on ->sadb_x_policy_len
Because sizeof() is size_t then if "len" is negative, it counts as a
large positive value.
The call tree looks like:
pfkey_sendmsg()
-> pfkey_process()
-> pfkey_spdadd()
-> parse_ipsecrequests()
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions
