[dpdk-dev] [PATCH] kni: fix possible buffer overflow

Thomas Monjalon thomas at monjalon.net
Thu Jul 18 23:24:16 CEST 2019


11/07/2019 17:33, Stephen Hemminger:
> On Thu, 11 Jul 2019 13:35:07 +0100
> Ferruh Yigit <ferruh.yigit at intel.com> wrote:
> 
> > 'kni_net_rx_lo_fifo()' can get segmented buffers, using 'pkt_len' for
> > that case will be wrong and some values can cause buffer overflow
> > in destination mbuf data.
> > 
> > Signed-off-by: Ferruh Yigit <ferruh.yigit at intel.com>
> 
> Acked-by: Stephen Hemminger <stephen at networkplumber.org>

Applied, thanks




More information about the dev mailing list