forked from enlightenment/enventor
don't read a value from an invalid address.
This commit is contained in:
parent
d35a229eab
commit
eb7209c1ad
|
@ -195,7 +195,8 @@ context_lexem_thread_cb(void *data, Ecore_Thread *thread EINA_UNUSED)
|
|||
!isalnum(*help_end_ptr);
|
||||
help_end_ptr--);
|
||||
for (help_ptr = help_end_ptr;
|
||||
(((isalnum(*help_ptr )) || (*help_ptr == '_')));
|
||||
((help_ptr >= utf8) &&
|
||||
((isalnum(*help_ptr )) || (*help_ptr == '_')));
|
||||
help_ptr--);
|
||||
if (help_ptr != utf8)
|
||||
help_ptr++;
|
||||
|
|
Loading…
Reference in New Issue