You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In file pydasm.c on line 459 return value of PyString_AsStringAndSize not checked (even not saved). If in func pydasm_get_instruction passed not str type - function get_instruction got trash from stack instead of pointer and crashed.
Also call of PyString_AsStringAndSize without checking of return_value present in function fill_inst_structure (line 302).
Please, add these checks.
The text was updated successfully, but these errors were encountered:
In file pydasm.c on line 459 return value of PyString_AsStringAndSize not checked (even not saved). If in func
pydasm_get_instruction
passed not str type - functionget_instruction
got trash from stack instead of pointer and crashed.Also call of PyString_AsStringAndSize without checking of return_value present in function fill_inst_structure (line 302).
Please, add these checks.
The text was updated successfully, but these errors were encountered: