Search Linux Wireless

Re: [PATCH] mac80211: validate SIOCSIWPOWER arguments better

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Johannes Berg <johannes@xxxxxxxxxxxxxxxx> writes:

> Don't accept any arguments we don't handle, 

Makes sense to me. wrq->disabled case is not checked because of the
ugly goto, but at least for me that looks ok.

> and return error codes instead of using an uninitialised stack
> value.

You refer to ps variable here, right? Yeah, I wrote that. Sorry.

> Signed-off-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx>

Reviewed-by: Kalle Valo <kalle.valo@xxxxxxxxx>

-- 
Kalle Valo
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux