[BusyBox 0003304]: udhcpd arpping overflow bug
bugs at busybox.net
bugs at busybox.net
Fri May 9 11:51:38 UTC 2008
A NOTE has been added to this issue.
======================================================================
http://busybox.net/bugs/view.php?id=3304
======================================================================
Reported By: Linkn
Assigned To: BusyBox
======================================================================
Project: BusyBox
Issue ID: 3304
Category: Networking Support
Reproducibility: always
Severity: minor
Priority: normal
Status: assigned
======================================================================
Date Submitted: 05-09-2008 04:10 PDT
Last Modified: 05-09-2008 04:51 PDT
======================================================================
Summary: udhcpd arpping overflow bug
Description:
In the arpping function(networking\udhcp\arpping.c. line 89),
prevTime may bring timeout_ms overflow in MIPS os.
Suggest define preTime: unsigned long long preTime;
======================================================================
----------------------------------------------------------------------
vda - 05-09-08 04:51
----------------------------------------------------------------------
The code:
/* wait for arp reply, and check it */
timeout_ms = 2000;
do {
int r;
unsigned prevTime = monotonic_us();
...
timeout_ms -= (monotonic_us() - prevTime) / 1000;
} while (timeout_ms > 0);
Can you explain in more details when overflow occurs?
Issue History
Date Modified Username Field Change
======================================================================
05-09-08 04:10 Linkn New Issue
05-09-08 04:10 Linkn Status new => assigned
05-09-08 04:10 Linkn Assigned To => BusyBox
05-09-08 04:51 vda Note Added: 0007584
======================================================================
More information about the busybox-cvs
mailing list