Re: [PATCH 1/5] gma500: fix a missing break in oaktrail_crtc_mode_set

2022-04-01 Thread Patrik Jakobsson
On Wed, Mar 30, 2022 at 2:03 PM Xiaomeng Tong wrote: > > Instead of exiting the loop as expected when an entry is found, the > list_for_each_entry() continues until the traversal is complete. It > will certainly lead to a invalid reference to list itereator variable > 'connector' after the loop po

[PATCH 1/5] gma500: fix a missing break in oaktrail_crtc_mode_set

2022-03-30 Thread Xiaomeng Tong
Instead of exiting the loop as expected when an entry is found, the list_for_each_entry() continues until the traversal is complete. It will certainly lead to a invalid reference to list itereator variable 'connector' after the loop pointing an bogus address at an offset from the list head, and cou