[BusyBox] Serious bug in udhcpc

Wolfgang Denk wd at denx.de
Tue Apr 22 09:04:28 UTC 2003


In message <3EA4FCF6.6000306 at imc-berlin.de> you wrote:
>
> And as I've reported before: I've seen udhcpc hang when time is 
> initialized to a value before 1970.
> Of course our customers will not be amused if the system hangs while 
> booting just because the battery is empty!

This is definitely a serious bug. I think we all agree here.

> For now I fixed this by checking and setting the RTC value in the 
> bootloader U-Boot _before_ linux gets started!

I think this is actually a workaround for broken software, not a fix,
as there are no restrictions on legal values of a time_t.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
Living on Earth may be expensive, but it includes an annual free trip
around the Sun.


More information about the busybox mailing list