mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-05 12:13:50 +01:00
Fix possible crash issue
This commit is contained in:
1 parent
61d73e46e6
commit
15d3e69c4c
1 file changed
+3
@@ -667,6 +667,9 @@ s32_le countChildren(SceNetAdhocMatchingContext * context, const bool excludeTim
|
||||
*/
|
||||
SceNetAdhocMatchingMemberInternal * findPeer(SceNetAdhocMatchingContext * context, SceNetEtherAddr * mac)
|
||||
{
|
||||
if (mac == NULL)
|
||||
return NULL;
|
||||
|
||||
// Iterate Peer List for Matching Target
|
||||
SceNetAdhocMatchingMemberInternal * peer = context->peerlist;
|
||||
for (; peer != NULL; peer = peer->next)
|
||||
|
||||
Reference in new issue
Block a user