libx52/lib
nirenjan b3dff7182b fix: Handle possible double-free in pinelog
The pinelog_init function frees the module_level and module_name
pointers at the start of the function, but doesn't reset them back to
NULL. If a subsequent malloc fails, then it would attempt to free the
pointer again, resulting in a double-free situation.

However, this is only hit if the pinelog_init function is called more
than once. While this is not likely (given that I'm the only known user
of pinelog at this time), it's still good coding practice.
2026-03-08 23:08:05 -07:00
..
inih Import inih library into source tree 2021-08-26 22:16:38 -07:00
pinelog fix: Handle possible double-free in pinelog 2026-03-08 23:08:05 -07:00
Makefile.am Import inih library into source tree 2021-08-26 22:16:38 -07:00