mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-10 17:21:33 +00:00
fix null ptr deferef in pre_save python mutator call
This commit is contained in:
parent
783f3b0957
commit
a3161b902e
@ -244,7 +244,7 @@ size_t pre_save_py(u8* buf, size_t buf_size, u8** out_buf) {
|
||||
|
||||
size_t out_buf_size;
|
||||
PyObject *py_args, *py_value;
|
||||
py_args = PyTuple_New(2);
|
||||
py_args = PyTuple_New(1);
|
||||
py_value = PyByteArray_FromStringAndSize(buf, buf_size);
|
||||
if (!py_value) {
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user