[PATCH] p2p: Fix the setter function for DBus group properties

Jouni Malinen j
Sat Feb 4 03:15:15 PST 2012


On Fri, Feb 03, 2012 at 04:46:02PM -0800, Angie Chinchilla wrote:
> From: Todd Previte <toddx.a.previte at intel.com>
> The setter function uses the same hostapd_data structure as the getter which
> causes it to crash if called on a P2P client. To overcome this issue, the
> role is checked to ensure it is called on a group owner and the pointer
> is examined for validity. The function will return an error if called on
> a non-GO system.

Thanks! Applied.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list