commit | 0262c72c2cd133602d1268ee59c76d6bebe39ddf | [log] [tgz] |
---|---|---|
author | Peng Xu <pxu@codeaurora.org> | Tue Jan 02 16:13:16 2018 -0800 |
committer | Jouni Malinen <jouni@codeaurora.org> | Thu Jan 04 12:22:31 2018 +0200 |
tree | 56e7bcecea6e4638c47ffeffe9cb30e95c98b14d | |
parent | 27406b05c5d470226795011bddf06c8ca3f727f5 [diff] |
miracast: Check return code before using returned buffer In cmd_start_wfd_connection() and cmd_connect_go_start_wfd(), check wpa_command_resp() result before using the returned buffer which could be uninitialized in case of errors. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>