If we have uncompressible data with size almost BLK_SIZE, then the compressed size gets larger than BLK_SIZE (ie the meta-data to indicate "CAT" mode).
This in turn triggers an incorrect overflow check in the decode part of test main(), which needed to check against allocated buffer size rather than BLK_SIZE.
This had no impact on the library, just the CLI test tool.
If we have uncompressible data with size almost BLK_SIZE, then the compressed size gets larger than BLK_SIZE (ie the meta-data to indicate "CAT" mode).
This in turn triggers an incorrect overflow check in the decode part of test main(), which needed to check against allocated buffer size rather than BLK_SIZE.
This had no impact on the library, just the CLI test tool.