https://bugzilla.kernel.org/show_bug.cgi?id=205277
--- Comment #7 from Pelle van Gils (pelle@vangils.xyz) --- (In reply to haro41 from comment #3)
Did you debug this issue? I think the problem could be outside this code.
I would outcomment the if-statement following for-loop in your proposed patch, because otherwise 'i' points outside the array boundarys here.
Thank you for your reply. I have uploaded a new patch with your suggestion.
It looks to me now that this is not so much a bug but intended beviour. I would still like to see this changed though.