[dpdk-dev] [PATCH] ivshmem: fix segmentation fault in corner case

Thomas Monjalon thomas.monjalon at 6wind.com
Mon Jun 22 18:40:46 CEST 2015


2015-06-18 13:27, Sergio Gonzalez Monroy:
> Depending on the configured segments it is possible to hit a
> segmentation fault as a result of decrementing an unsigned index with
> value 0.
> 
> To avoid it, exit the loop if the index has value 0.
> 
> Signed-off-by: Sergio Gonzalez Monroy <sergio.gonzalez.monroy at intel.com>

Applied, thanks


More information about the dev mailing list