mbox series

[v1,0/2] Remove BUG_ON() and fix -ve array indexing

Message ID 20200317061522.12685-1-rayagonda.kokatanur@broadcom.com
Headers show
Series Remove BUG_ON() and fix -ve array indexing | expand

Message

Rayagonda Kokatanur March 17, 2020, 6:15 a.m. UTC
This patch series contains following changes,

1. Avoid use of BUG_ON to prevent kernel crash and return error instead.
2. Fix possible negative array indexing

Rayagonda Kokatanur (2):
  async_tx: return error instead of BUG_ON
  async_tx: fix possible negative array indexing

 crypto/async_tx/async_raid6_recov.c | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)