[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1122106: linux-image-amd64: UBSAN create a systematic trace in DRM driver



On 12/14/25 17:05, Eric wrote:
Hi,

Hi Eric,

So, I tried both patches. The first failed to compile with this message

Yes Alex Deucher was not sure the syntax would be accepted.

Reading the first patch, it was trying to compute the real length of the char array (its an array of items of size greater than one) so initial code is incorrect and will bark as soon as realIndex*sizeof(item) >= ucNumEntries which I suppose is the maximum number of items in the array.


The second patch suppressed the message.

Yes no more check. So we cannot be sure it is indeed a false positive without reading the code to compute the real array length. But I would trust Alex.

Thanks for testing.


--
Eric Valette


Reply to: