diff options
author | Ka-Cheong Poon <ka-cheong.poon@oracle.com> | 2019-08-26 02:39:12 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-08-27 20:56:06 -0700 |
commit | 7d0a06586b2686ba80c4a2da5f91cb10ffbea736 (patch) | |
tree | 99abaf39f03a2c94e52a82fe984f2a20b47d650d /net/ipv4 | |
parent | 2c1644cf6d46a8267d79ed95cb9b563839346562 (diff) |
net/rds: Fix info leak in rds6_inc_info_copy()
The rds6_inc_info_copy() function has a couple struct members which
are leaking stack information. The ->tos field should hold actual
information and the ->flags field needs to be zeroed out.
Fixes: 3eb450367d08 ("rds: add type of service(tos) infrastructure")
Fixes: b7ff8b1036f0 ("rds: Extend RDS API for IPv6 support")
Reported-by: 黄ID蝴蝶 <butterflyhuangxx@gmail.com>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Ka-Cheong Poon <ka-cheong.poon@oracle.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
0 files changed, 0 insertions, 0 deletions