<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in pthread_create.c</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>846ec2c3 - [HWASan] Ensure RNG is initialized in GenerateRandomTag</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/compiler-rt/test/hwasan/TestCases/pthread_create.c#846ec2c3</link>
        <description>[HWASan] Ensure RNG is initialized in GenerateRandomTagFixes a CHECK-failure caused by glibc&apos;s pthread_getattr_npimplementation calling realloc.  Essentially, Thread::GenerateRandomTaggets called during Thread::Init and before Thread::InitRandomState:  HWAddressSanitizer: CHECK failed: hwasan_thread.cpp:134 &quot;((random_buffer_)) != (0)&quot; (0x0, 0x0) (tid=314)    #0 0x55845475a662 in __hwasan::CheckUnwind()    #1 0x558454778797 in __sanitizer::CheckFailed(char const*, int, char const*, unsigned long long, unsigned long long)    #2 0x558454766461 in __hwasan::Thread::GenerateRandomTag(unsigned long)    #3 0x55845475c58b in __hwasan::HwasanAllocate(__sanitizer::StackTrace*, unsigned long, unsigned long, bool)    #4 0x55845475c80a in __hwasan::hwasan_realloc(void*, unsigned long, __sanitizer::StackTrace*)    #5 0x5584547608aa in realloc    #6 0x7f6f3a3d8c2c in pthread_getattr_np    #7 0x5584547790dc in __sanitizer::GetThreadStackTopAndBottom(bool, unsigned long*, unsigned long*)    #8 0x558454779651 in __sanitizer::GetThreadStackAndTls(bool, unsigned long*, unsigned long*, unsigned long*, unsigned long*)    #9 0x558454761bca in __hwasan::Thread::InitStackAndTls(__hwasan::Thread::InitState const*)    #10 0x558454761e5c in __hwasan::HwasanThreadList::CreateCurrentThread(__hwasan::Thread::InitState const*)    #11 0x55845476184f in __hwasan_thread_enter    #12 0x558454760def in HwasanThreadStartFunc(void*)    #13 0x7f6f3a3d6fa2 in start_thread    #14 0x7f6f3a15b4ce in __cloneAlso reverts 7a3fb71c3cbdd80666335fa8f6f071b43f0b922a, as it&apos;s nowunneeded.Reviewed By: vitalybukaDifferential Revision: https://reviews.llvm.org/D113045

            List of files:
            /llvm-project-15.0.7/compiler-rt/test/hwasan/TestCases/pthread_create.c</description>
        <pubDate>Tue, 09 Nov 2021 14:52:32 +0000</pubDate>
        <dc:creator>Matt Morehouse &lt;mascasa@google.com&gt;</dc:creator>
    </item>
</channel>
</rss>
