Home
last modified time | relevance | path

Searched hist:d8df56379c749230dd552705616fae6e9ca9d0d5 (Results 1 – 1 of 1) sorted by relevance

/haiku/src/servers/net/
H A DDHCPClient.cppd8df56379c749230dd552705616fae6e9ca9d0d5 Fri Aug 30 16:03:51 UTC 2024 Michael Lotz <mmlr@mlotz.ch> DHCPClient: Fix use of uninitialized timing values.

The fRenewalTime and fRebindingTime members were never initialized but
assumed to be initially set to 0 when not provided by the DHCP server.
This could lead to negative time values depending on the uninitialized
memory content and would always happen under libroot_debug where memory
is initially cleared to 0xcc. The negative times then lead to endless
loops of sending requests.

Change-Id: I74a5fbd0c75f7de925f591f09db663978ea3f0ea
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8157
Haiku-Format: Haiku-format Bot <no-reply+haikuformatbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>