Bug#1091402: Rather crude patch for aflplusplus Python 3.13 FTBFS

2025-01-10 Thread Ben Harris
On Thu, 9 Jan 2025, Ben Harris wrote: The attached patch switches init_py_module() to use PyObject_GetOptionalAttr() in place of PyObject_GetAttrString(). ... However, this is not really a good fix. Any other exception raised by PyObject_GetOptionalAttr() will still be ignored, and will presu

Bug#1091402: Rather crude patch for aflplusplus Python 3.13 FTBFS

2025-01-09 Thread Ben Harris
Control: tags -1 + patch It looks like the Python 3.13 FTBFS in aflplusplus is caused by a failure to properly handle exceptions when initialising a Python mutator. I don't have a good understanding of Python's C interface, but it looks like when PyObject_GetAttrString() is called on a key th