• unknown's avatar
    BUG#20622: Fix one-byte buffer overrun in IM directory string handling. · 0f3cc95b
    unknown authored
    The problem was a call to convert_dirname() with a destination buffer
    that did not have room for the trailing slash added by that function.
    This could cause the instance manager to crash in some cases.
    
    
    mysys/mf_dirname.c:
      Clarify in comments that convert_dirname destination must be larger than
      source to accomodate a trailing slash.
    server-tools/instance-manager/instance_options.cc:
      Fix buffer overrun.
    0f3cc95b
instance_options.cc 15 KB