More fixes due to tightening the checks on debug/die/inform/warn varadic arguments.

This commit is contained in:
Mike Brady
2025-12-30 16:56:30 +00:00
parent ceb1f804b6
commit 691d71f356
11 changed files with 35 additions and 35 deletions
+1 -1
View File
@@ -670,7 +670,7 @@ uint8_t *base64_dec(char *input, int *outlen) {
// input,strlen(input),inbuf,inbufsize);
int rc = mbedtls_base64_decode(NULL, 0, &dlen, (unsigned char *)inbuf, inbufsize);
if (rc && (rc != MBEDTLS_ERR_BASE64_BUFFER_TOO_SMALL))
debug(1, "Error %d getting decode length, result is %d.", rc, dlen);
debug(1, "Error %d getting decode length, result is %ld.", rc, dlen);
else {
// debug(1,"Decode size is %d.",dlen);
buf = malloc(dlen);