If the pad size specified/requested is too large, a Circular Buffer Config Error: Circular buffer size cannot be 0 B error is thrown. The code below will fail, however if PAD_SIZE is reduced to 1 (PAD_SIZE=1) no error is thrown. It would be good to have range checking and a more informative error message on failure.
Follow on to issue #14140.
Git tag: v0.52.0
If the pad size specified/requested is too large, a
Circular Buffer Config Error: Circular buffer size cannot be 0 B
error is thrown. The code below will fail, however if PAD_SIZE is reduced to 1 (PAD_SIZE=1
) no error is thrown. It would be good to have range checking and a more informative error message on failure.