• unknown's avatar
    Bug#27490 Function to log to NT event log could allocate memory · 1747a6b6
    unknown authored
    - Change 'print_buffer_to_nt_event_log' to overwrite the string
    if the buffer is not long enough to hold the ending CR/LF's
    - Make functions static
    - Remove the "hack" intended to force 'print_buffer_to_nt_event_log'
     never to use "new"
    
    
    sql/log.cc:
      -Change 'print_buffer_to_nt_event_log' to overwrite the string
      if the buffer is not long enough to hold the ending CR/LF's
      - Make functions static
      - Remove the "hack" intended to force 'print_buffer_to_nt_event_log'
       never to use "new"
    1747a6b6
log.cc 86 KB