#6679: KDL on boot with Intel wifi 2100 -------------------------------------------+---------------------------- Reporter: vercu | Owner: mmlr Type: bug | Status: assigned Priority: normal | Milestone: R1 Component: Network & Internet/Wireless | Version: R1/Development Resolution: | Keywords: ipw2100 Blocked By: | Blocking: Has a Patch: 0 | Platform: x86 -------------------------------------------+---------------------------- Comment (by mmlr): It is plain simply a bug. The driver doesn't require the firmware files, it should fail gracefully if they aren't there and the network interface would simply be unavailable. It did that back then, but it doesn't do that anymore due to the change of the kernel heap which uncovers obvious laziness on my part back in 2006. The heap back then would return either NULL or a normally freeable address when it is supposed to allocate an invalid amount of memory and would not fail to free() such an address. It doesn't seem the new heap does that too, either returning an invalid address or failing to take this into account on free (IMO that should be fixed as well). But in any case the driver just needs to check for one of the numerous error conditions that lead up to this (failing to open the file, failing to seek to the end, getting an invalid size and failing to allocate a buffer) which will cure this. I can change that tonight. -- Ticket URL: <http://dev.haiku-os.org/ticket/6679#comment:9> Haiku <http://dev.haiku-os.org> Haiku - the operating system.