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
Applied,
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
---
lib/librte_ivshmem/rte_ivshmem.c | 2 ++
1 file changed, 2 i
2 matches
Mail list logo