Skip to content

Commit ace2598

Browse files
committed
fix(KSCrash): fix logical error preventing queue names collecting
kstenerud/KSCrash@5a0569b#diff-492007156e854f9181d731e3dd1eca69
1 parent 899d7d9 commit ace2598

File tree

1 file changed

+1
-1
lines changed
  • matrix/matrix-iOS/Matrix/WCCrashBlockMonitor/KSCrash/Recording/Tools

1 file changed

+1
-1
lines changed

matrix/matrix-iOS/Matrix/WCCrashBlockMonitor/KSCrash/Recording/Tools/KSThread.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ bool ksthread_getQueueName(const KSThread thread, char* const buffer, int bufLen
7171
}
7272

7373
thread_identifier_info_t idInfo = (thread_identifier_info_t)info;
74-
if(ksmem_isMemoryReadable(idInfo, sizeof(*idInfo)))
74+
if(!ksmem_isMemoryReadable(idInfo, sizeof(*idInfo)))
7575
{
7676
KSLOG_DEBUG("Thread %p has an invalid thread identifier info %p", thread, idInfo);
7777
return false;

0 commit comments

Comments
 (0)