Searched refs:char_i (Results 1 – 2 of 2) sorted by relevance
407 uint32_t char_i = 0; in lv_dropdown_get_option_index() local412 while(start[char_i] != '\0') { in lv_dropdown_get_option_index()413 for(char_i = 0; (start[char_i] != '\n') && (start[char_i] != '\0'); char_i++); in lv_dropdown_get_option_index()415 if(option_len == char_i && memcmp(start, option, LV_MIN(option_len, char_i)) == 0) { in lv_dropdown_get_option_index()419 start = &start[char_i]; in lv_dropdown_get_option_index()421 char_i = 0; in lv_dropdown_get_option_index()
24 - fix(dropdown): reset char_i = 0, avoid access overflow [`4589`](https://github.com/lvgl/lvgl/pull…