Skip to content

Version 1.4.1 release

Compare
Choose a tag to compare
@takaswie takaswie released this 02 Dec 08:33
· 412 commits to master since this release

In this release, a bug is fixed to avoid memory corruption.

The bug appears to run with PyGObject v3.32.1 or later. A commit
35f97a68763 ("pygi-array: fix leak of transfer-full/container C arrays.
Fixes #322")[0] was merged to PyGObject to avoid memory leak for a
pointer for array. This commit strictly handles '(transfer)' annotation
to maintain ownership for pointer of array. However HinawaFwNode and
HinawaFwResp in libhinawa v1.4.0 or former don't have the annotation
for pointer to constant value. Although the ownership is still kept by
libhinawa, PyGObject attempts to free it and brings memory corruption.

[0] https://gitlab.gnome.org/GNOME/pygobject/merge_requests/117/commits