message: issue log crash fix
diff: @@ -218,8 +218,15 @@ OP_NAMESPACE_BEGIN
  NEW(buffer, char[buf_len]);
  int n = vsnprintf(buffer, buf_len - 1, format, ap);
  if (n > 0 && NULL != buffer)
  + {
  + if (n < buf_len)
  {
  buffer[n] = 0;
  + }
  + else
  + {
  + buffer[buf_len - 1] = 0;
  + }
  LOG_WITH_LEVEL(level, "[RocksDB]%s", buffer);
  }
  DELETE_A(buffer);
  