Re: [PATCHv3 1/2] gatmux: take reference to mux object while processing incoming data

2019-10-08 Thread Denis Kenzior
Hi Martin, On 10/8/19 1:44 PM, Martin Hundebøll wrote: When closing down a cmux object, the address sanitizer detects a use-after-free in gatmux.c (see below). Avoid this by taking a reference to the mux object during the processing in received_data(). Applied, thanks. Regards, -Denis

[PATCHv3 1/2] gatmux: take reference to mux object while processing incoming data

2019-10-08 Thread Martin Hundebøll
When closing down a cmux object, the address sanitizer detects a use-after-free in gatmux.c (see below). Avoid this by taking a reference to the mux object during the processing in received_data(). ofonod[3640549]: ../git/plugins/quectel.c:cfun_disable() 0x61000b40 ofonod[3640549]: