Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
encoding/base64: Fix compilation warning with ARM GCC 13
Error: repos/apache-mynewt-core/encoding/base64/src/base64.c: In function 'base64_decoder_go': repos/apache-mynewt-core/encoding/base64/src/base64.c:261:9: error: 'memcpy' specified size between 2147483653 and 4294967295 exceeds maximum object size 2147483647 [-Werror=stringop-overflow=] 261 | memcpy(&dec->buf[dec->buf_len], &dec->src[src_off], read_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors
- Loading branch information