[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160823.172325.1181752363755678623.davem@davemloft.net>
Date: Tue, 23 Aug 2016 17:23:25 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: lrichard@...hat.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net] sctp: fix overrun in sctp_diag_dump_one()
From: Lance Richardson <lrichard@...hat.com>
Date: Tue, 23 Aug 2016 11:40:52 -0400
> The function sctp_diag_dump_one() currently performs a memcpy()
> of 64 bytes from a 16 byte field into another 16 byte field. Fix
> by using correct size, use sizeof to obtain correct size instead
> of using a hard-coded constant.
>
> Fixes: 8f840e47f190 ("sctp: add the sctp_diag.c file")
> Signed-off-by: Lance Richardson <lrichard@...hat.com>
Applied and queued up for -stable, thanks.
Powered by blists - more mailing lists