ucode: ubus: fix use-after-free on deferred request reply() method
authorFelix Fietkau <[email protected]>
Mon, 12 May 2025 10:46:12 +0000 (12:46 +0200)
committerFelix Fietkau <[email protected]>
Thu, 12 Jun 2025 12:33:54 +0000 (14:33 +0200)
commitc45c2f3c1cc3721704a60d73f9e08cc52dea9289
treec41278af189297cfdcd8fe8e5948910bd673b139
parent0ea2a93fc74f8348dfc04272e42293ad7795e962
ucode: ubus: fix use-after-free on deferred request reply() method

Hold a reference to the defer resource as long as it is still needed

Signed-off-by: Felix Fietkau <[email protected]>
(cherry picked from commit 87bfde67f2504bbd649e185fc15619d769ab9b26)
package/utils/ucode/patches/020-ubus-fix-use-after-free-on-deferred-request-reply-me.patch [new file with mode: 0644]