RE: [PATCH] compress/nitrox: fix dereference after null check

2024-03-13 Thread Akhil Goyal
> Subject: [PATCH] compress/nitrox: fix dereference after null check > > In nitrox_check_comp_req() while updating the last byte during FINAL > flush there is possibility of accessing null mbuf in two rare cases. > First case is when the application changes the dst mbuf betwee

[PATCH] compress/nitrox: fix dereference after null check

2024-03-12 Thread Nagadheeraj Rottela
In nitrox_check_comp_req() while updating the last byte during FINAL flush there is possibility of accessing null mbuf in two rare cases. First case is when the application changes the dst mbuf between enqueue and dequeue. Second case is when data length reported by hardware is greater than the mbu