[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-users] [lwip] uses struct member after free - bug
From: |
Paul Sheer |
Subject: |
[lwip-users] [lwip] uses struct member after free - bug |
Date: |
Thu, 09 Jan 2003 01:22:06 -0000 |
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);
#if LWIP_CALLBACK_API
lpcb->accept = tcp_accept_null;
#endif /* LWIP_CALLBACK_API */
TCP_REG((struct tcp_pcb **)&tcp_listen_pcbs, (struct tcp_pcb *)lpcb);
return (struct tcp_pcb *)lpcb;
just noticed this
*wacks sinners fingers with 50cm wooden ruler*
-paul
Paul Sheer Consulting IT Services . . . Tel . . . +27 21 761 7224
Email . . . address@hidden . . . . . . Pager . . . 088 0057245
Linux development, cryptography, recruitment, support, training
http://www.icon.co.za/~psheer . . . . http://rute.sourceforge.net
L I N U X . . . . . . . . . . . . The Choice of a GNU Generation
[This message was sent through the lwip discussion list.]
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lwip-users] [lwip] uses struct member after free - bug,
Paul Sheer <=