|
From: | address@hidden |
Subject: | Re: [lwip-devel] Calling dhcp_release before dhcp_start dereferences NULL |
Date: | Tue, 12 Jun 2012 19:03:34 +0200 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 |
Mason wrote:
Calling dhcp_release when dhcp_start has never been called causes a NULL dereference (because the dhcp struct has never been allocated). dhcp_release calls dhcp_set_state(dhcp, DHCP_OFF); dhcp_state( ) reads dhcp->state. If dhcp is NULL : bam.
Could you file a bug report to ensure this doesn't get forgotten? Thanks, Simon
[Prev in Thread] | Current Thread | [Next in Thread] |