lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-users] Re: [lwip] uses struct member after free - bug


From: Leon Woestenberg
Subject: [lwip-users] Re: [lwip] uses struct member after free - bug
Date: Thu, 09 Jan 2003 00:29:00 -0000

Hello Paul et al,

>   memp_free(MEMP_TCP_PCB, pcb);
>   lpcb->callback_arg = pcb->callback_arg;
>   lpcb->local_port = pcb->local_port;
>   ip_addr_set(&lpcb->local_ip, &pcb->local_ip);
>
What is the suggested fix? Move the memp_free() call underneath the next 3
lines??

Regards,

Leon.

[This message was sent through the lwip discussion list.]




reply via email to

[Prev in Thread] Current Thread [Next in Thread]