On 10/11/25 19:14, Ilya Krutskih wrote:
fixed possible out of band access to an array If the fealnx_init_one() function is called more than MAX_UNITS times or card_idx is less than zero
The code already validates against the >= MAX_UNITS case and card_idx can never be less than zero at those points under normal circumstances, making this patch unnecessary.
However, card_idx will overflow with enough calls and that is something that should probably be fixed