--- a/src/rcfg.c +++ b/src/rcfg.c @@ -94,7 +94,7 @@ static void handle_blob(rcfg_ctx *ctx, const uint8_t *val, uint16_t len) { char host[RCFG_HOST_CAP]; - if (len <= RCFG_BLOB_LIMIT) { + if (len <= sizeof(host)) { memcpy(host, val, len); ctx->host_hash = fnv1a((const uint8_t *)host, len); }