Re: [RESEND][PATCH] omapdrm: fix missing check on list iterator

2022-04-14 Thread Tomi Valkeinen
Hi, On 14/04/2022 09:14, Xiaomeng Tong wrote: The bug is here: bus_flags = connector->display_info.bus_flags; The list iterator 'connector-' will point to a bogus position containing HEAD if the list is empty or no element is found. This case must be checked before any use of the iterat

[RESEND][PATCH] omapdrm: fix missing check on list iterator

2022-04-13 Thread Xiaomeng Tong
The bug is here: bus_flags = connector->display_info.bus_flags; The list iterator 'connector-' will point to a bogus position containing HEAD if the list is empty or no element is found. This case must be checked before any use of the iterator, otherwise it will lead to a invalid memory ac