The ssid string has no terminator, which causes a out of bounds. Signed-off-by: liqinhui <liqinhui@xiaomi.com>