Skip to content
  • Tor Didriksen's avatar
    d5f47a6e
    Bug#16945343 ADDRESSSANITIZER BUG IN DBUG.C · d5f47a6e
    Tor Didriksen authored
    Remove the #undef SAFE_MUTEX
    With the undef, debug.o and thread utilitis in mysys
    have different ideas about the size and contents of a mutex.
    
    We were writing out-of-bounds in my_rw_init() here:
    #ifdef SAFE_MUTEX
      rwp->write_thread   = 0;
    #endif
    d5f47a6e
    Bug#16945343 ADDRESSSANITIZER BUG IN DBUG.C
    Tor Didriksen authored
    Remove the #undef SAFE_MUTEX
    With the undef, debug.o and thread utilitis in mysys
    have different ideas about the size and contents of a mutex.
    
    We were writing out-of-bounds in my_rw_init() here:
    #ifdef SAFE_MUTEX
      rwp->write_thread   = 0;
    #endif
Loading