unbound/pythonmod
Petr Vaganov 7c28f1b99c pythonmod: fix HANDLE_LEAK on pythonmod_init
Found by the static analyzer Svace (ISP RAS).

Handle 'script_py' is created at pythonmod.c:436
by calling function 'fopen' and lost at pythonmod.c:457,465.

Signed-off-by: Petr Vaganov <petrvaganoff@gmail.com>
2025-09-23 19:51:46 +05:00
..
doc - Merge patch to fix for glue that is outside of zone, with 2024-08-23 08:56:48 +02:00
examples - Fix #1235: Outdated Python2 code in 2025-09-02 12:54:03 +02:00
interface.i - For #1189, homogenize the input buffer size for dname_str(). 2024-12-02 11:53:56 +01:00
LICENSE python contribution from Zdenek Vasicek and Marek Vavrusa (BSD licensed). 2009-03-25 14:47:47 +00:00
Makefile source IP from python and doxygen fixes. 2009-09-03 14:51:38 +00:00
pythonmod.c pythonmod: fix HANDLE_LEAK on pythonmod_init 2025-09-23 19:51:46 +05:00
pythonmod.h Merge branch 'python_add_missing_callbacks' of https://github.com/fhriley/unbound into fhriley-python_add_missing_callbacks 2023-07-21 15:19:12 +02:00
pythonmod_utils.c - Fix for the serve expired DNSSEC information fix, it would not allow 2024-11-05 10:39:27 +01:00
pythonmod_utils.h - Reformat pythonmod/pythonmod_utils.{c,h}. 2021-03-22 18:45:31 +01:00
test-calc.conf Python work. 2009-03-26 09:31:28 +00:00
test-dict.conf Python work. 2009-03-26 09:31:28 +00:00
test-edns.conf - Added generic EDNS code for registering known EDNS option codes, 2016-12-06 13:42:51 +00:00
test-inplace_callbacks.conf - Fix pythonmod for cb changes. 2017-04-07 17:07:16 +00:00
test-log.conf Python work. 2009-03-26 09:31:28 +00:00
test-resgen.conf Python work. 2009-03-26 09:31:28 +00:00
test-resip.conf source IP from python and doxygen fixes. 2009-09-03 14:51:38 +00:00
test-resmod.conf Python work. 2009-03-26 09:31:28 +00:00
ubmodule-msg.py - Expose the script filename in the Python module environment 'mod_env' 2023-10-16 15:47:18 +02:00
ubmodule-tst.py - Expose the script filename in the Python module environment 'mod_env' 2023-10-16 15:47:18 +02:00