SUSE / libpulp

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

Fix case where trigger is called with pid of non-livepatchable process #162

Closed giulianobelinassi closed 1 year ago

giulianobelinassi commented 1 year ago

If trigger was called with -p PID, where PID is a process without libpulp loaded, then trigger crashed. This commit fixes this problem by moving the necessary check accordingly.