1. 17 Nov, 2008 1 commit
    • Kristofer Pettersson's avatar
      Bug#40778 thd_security_context has bad architecture; allocates on unprotected memroot · 11493dfd
      Kristofer Pettersson authored
                        
      The function thd_security_context allocates memory on an unprotected MEM_ROOT if the
      message length becomes longer than requested and the initial buffer memory needs to
      be reallocated.
                        
      This patch fixes the design error by copying parts of the reallocated buffer 
      to the destination buffer. This works because the destination buffer isn't
      owned by the String object and thus isn't freed when a new buffer is allocated.
      Any new memory allocated by the String object is reclaimed when the object
      is destroyed at the end of the function call.
      11493dfd
  2. 07 Nov, 2008 1 commit
  3. 27 Oct, 2008 10 commits
  4. 26 Oct, 2008 3 commits
  5. 24 Oct, 2008 5 commits
  6. 23 Oct, 2008 8 commits
  7. 22 Oct, 2008 2 commits
  8. 21 Oct, 2008 10 commits