• Chad MILLER's avatar
    Bug#42675: Dangling pointer leads to a client crash (mysys/my_error.c \ · 95618bb3
    Chad MILLER authored
    	patch enclosed)
      
    One call to my_error_unregister_all() would free pointers, but leave one
    pointer to just-freed memory still assigned.  That's the bug.  Subsequent
    calls of this function would try to follow pointers into deallocated, 
    garbage memory and almost certainly SEGV.
    
    Now, after freeing a linked list, unset the initial pointer.
    95618bb3
my_error.c 7.92 KB