Re: [PATCH] rds: fix an infoleak in rds_inc_info_copy

From: Santosh Shilimkar
Date: Thu Jun 02 2016 - 11:25:23 EST


On 6/2/2016 1:11 AM, Kangjie Lu wrote:
The last field "flags" of object "minfo" is not initialized.
Copying this object out may leak kernel stack data.
Assign 0 to it to avoid leak.

Signed-off-by: Kangjie Lu <kjlu@xxxxxxxxxx>
---
net/rds/recv.c | 2 ++
1 file changed, 2 insertions(+)

Acked-by: Santosh Shilimkar <santosh.shilimkar@xxxxxxxxxx>