Re: Panic with SLAB debugging enabled

From: Jouni Malinen (
Date: 2002-06-28 07:04:20 UTC

On Thu, Jun 27, 2002 at 07:11:05PM -0400, Pavel Roskin wrote:

> The CVS version of HostAP causes a kernel oops at startup (poosibly while
> bringing the interface up). The kernel is 2.4.19-rc1 with
> CONFIG_DEBUG_SLAB defined in .config (i.e. with malloc debugger).
> I don't have time to debug it today, I just hope somebody will say Oops
> and fix it before I find time to look at it.

Oops. ;-)

SIOC[GS]IWESSID handlers in Host AP driver used to nul terminate essid and use a buffer of 33 bytes, but new WE API allocates only 32 bytes.. However, iwconfig seems to nul terminate essid in SIOCSIWESSID.

I now fixed Host AP driver not to write over that 32 byte buffer, but there remains a small problem in the Linux wireless extensions/tools that prevents 32 byte essid being used. Host AP driver allows this to be configured with module parameter and iwconfig can show 32 byte essid, but it cannot be changed with iwconfig.

Jouni Malinen                                            PGP id EFC895FA

This archive was generated by hypermail 2.1.4.