Skip to content
  • Yongsu Park's avatar
    win32: Check and avoid using TLS index 0 · 3364e020
    Yongsu Park authored and Philip Withnall's avatar Philip Withnall committed
    Zero is a valid TLS index so it needs to be checked. It’s also the
    integer used to indicate that no TLS has been allocated yet, so it can’t
    be used as a TLS identifier.
    
    Incorporates changes from Philip Withnall.
    
    Fixes: #2058
    3364e020