From 597065edb2eeb981e357d41aed359d2beb82af51 Mon Sep 17 00:00:00 2001 From: SESA741771 Date: Thu, 7 Aug 2025 11:53:16 +0200 Subject: [PATCH] src/schema_compile_node.c: coverity fix - overflowed constant --- src/schema_compile_node.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/schema_compile_node.c b/src/schema_compile_node.c index 5498b208e..fa3b88d0c 100644 --- a/src/schema_compile_node.c +++ b/src/schema_compile_node.c @@ -1666,6 +1666,7 @@ lys_compile_type_union(struct lysc_ctx *ctx, struct lysp_type *ptypes, struct ly LY_ARRAY_INCREMENT(utypes); } /* compensate u increment in main loop */ + assert(additional); --additional; /* free the replaced union subtype */