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

Chinchilla, Angie V angie.v.chinchilla at intel.com
Fri Feb 3 20:08:03 EST 2012


> -----Original Message-----
> From: hostap-bounces at lists.shmoo.com [mailto:hostap-
> bounces at lists.shmoo.com] On Behalf Of Angie Chinchilla
> Sent: Friday, February 03, 2012 4:46 PM
> To: hostap at lists.shmoo.com
> Cc: Previte, ToddX A
> Subject: [PATCH] p2p: Fix the setter function for DBus group properties
> 
> 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.
> 
> Signed-hostap: Todd Previte <toddx.a.previte at intel.com>
> Signed-hostap: Angie Chinchilla <angie.v.chinchilla at intel.com>
> ---
>  wpa_supplicant/dbus/dbus_new_handlers_p2p.c |   10 +++++-----
>  1 files changed, 5 insertions(+), 5 deletions(-)

intended-for: hostap-1


More information about the HostAP mailing list