Opened on 11/19/08 at 16:58:23
Closed on 04/28/09 at 10:12:41
#1338 closed defect (fixed)
Check return value on rtems_event_receive in rtems_dhcp.c
Reported by: | Gene Smith | Owned by: | Chris Johns |
---|---|---|---|
Priority: | normal | Milestone: | 4.9 |
Component: | network/legacy | Version: | 4.9 |
Severity: | normal | Keywords: | |
Cc: | chrisj@… | Blocked By: | |
Blocking: |
Description
Task checks for event that may or may not have occurred and can exit erroneously. Instead it should check the return on rtems_event_receive() and exit only if the return value is not RTEMS_TIMEOUT indicating an event.
See mailing list thread "rtems_dhcp.c: dhcp_task() bug? plus question" (10-30-2008) for more details and discussion.
Attachments (1)
Change History (4)
Changed on 11/19/08 at 16:58:23 by Gene Smith
Attachment: | rtems_dhcp.c.diff added |
---|
comment:1 Changed on 02/16/09 at 07:40:14 by Chris Johns
Cc: | Chris Johns added |
---|---|
Owner: | changed from Eric Norum to Chris Johns |
comment:2 Changed on 02/16/09 at 07:41:03 by Chris Johns
Status: | new → assigned |
---|
comment:3 Changed on 04/28/09 at 10:12:41 by Chris Johns
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fix committed to CVS.
Note: See
TracTickets for help on using
tickets.
Proposed change