[BusyBox] Serious bug in udhcpc
Russ Dill
Russ.Dill at asu.edu
Sun Apr 20 16:15:39 UTC 2003
On Sun, 2003-04-20 at 06:46, Michael Sternberg wrote:
> Latest BusyBox from CVS (Apr 20 16:35).
> PPC, glibc.
>
> Variable timeout in networking/udhcp/dhcpc.c, line 52 defined.
> In line 335 after that its used uninitialized.
> As result send_discover is called after 1645212044 seconds...
>
> Initializing this value with 0x7fffffff solves the problem.
> Please check that tis solution does not break anything on Intel (and
> other platforms).
its declared static, it will be initialized to 0, are you using some
weird compiler?
More information about the busybox
mailing list