P2P: Fix off-by-one in p2p_group_get() buffer bounds checking

This buffer is a NUL terminated array so must check that the GO Device
Address is short enough to fit into the buffer with that extra character
added in the end.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
1 file changed