message: protect from NULL
diff: @@ -685,6 +685,7 @@ adios2_varinfo *adios2_inquire_blockinfo(adios2_engine *engine,
  {
  varinfo = (adios2_varinfo *)malloc(sizeof(adios2_varinfo));
  varinfo->nblocks = minBlocksInfo->BlocksInfo.size();
  + varinfo->Shape = NULL;
  varinfo->BlocksInfo = (adios2_blockinfo *)malloc(
  varinfo->nblocks * sizeof(adios2_blockinfo));
  auto *b = varinfo->BlocksInfo;
  @@ -696,12 +697,15 @@ adios2_varinfo *adios2_inquire_blockinfo(adios2_engine *engine,
  varinfo->Shape[0] = (intptr_t)minBlocksInfo->Shape;
  }
  else
  + {
  + if (minBlocksInfo->Shape)
  {
  varinfo->Shape =
  (size_t *)malloc(sizeof(size_t) * minBlocksInfo->Dims);
  memcpy(varinfo->Shape, minBlocksInfo->Shape,
  sizeof(size_t) * minBlocksInfo->Dims);
  }
  + }
  varinfo->IsValue = (int)minBlocksInfo->IsValue;
  varinfo->IsReverseDims = (int)minBlocksInfo->IsReverseDims;
  for (size_t i = 0; i < varinfo->nblocks; ++i)
  