On 17 August 2016 at 10:01, Simon Mages <[email protected]> wrote:
> Hi,
>
> while i was debugging dlg@'s diff regarding the bigger mbuf clusters i 
> stumbled
> across a bug in the PRU_SEND case in uicp_usrreq.c.
>
> There is a call to sbappendcontrol which can fail, but there is no
> error handling done.
> If sbappendcontrol fails m will be set to NULL, which just leaks this
> mbuf because
> it was never put into the sb.
>
> I think the following diff fixes this problem by handly the error correctly.
>

I believe this is correct.  OK mikeb

Reply via email to