SUSE / libpulp

libpulp enables live patching in user space applications.
GNU Lesser General Public License v2.1
55 stars 11 forks source link

Fix linkage of libunwind and file descriptor leak #157

Closed giulianobelinassi closed 1 year ago

giulianobelinassi commented 1 year ago

Previously, libpulp.so.0 were being linked against libunwind, but no function of this library is called inside libpulp. This library also do not have any constructors. Hence, only the tools need to link against this library.

Also fix a file descriptor leak in the stack check code. Since it is not used in the package updater, this is not critical.

Signed-off-by: Giuliano Belinassi gbelinassi@suse.de