On Thu, Oct 05, 2006 at 03:12:46PM -0700, Jean Tourrilhes wrote: > + if((cmd == SIOCSIWESSID) || > + (cmd == SIOCSIWNICKN)) { > + if(extra[iwr->u.data.length - 1] == '\0') {
Can't iwr->u.data.length be zero here (with WE-21)? Maybe better add 'iwr->u.data.length > 0 &&'.. -- Jouni Malinen PGP id EFC895FA - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html