aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2026-04-07 14:33:31 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2026-04-07 14:33:31 -0400
commitcc981df924d6345715ae5a221ea5daa522f122e2 (patch)
tree196244d83566234fe439ea33b87ae7e9edc39da5
parentb517401912d7f987a5a86e01a481cf3a4873e0f4 (diff)
downloadstasis-cc981df924d6345715ae5a221ea5daa522f122e2.tar.gz
NULL terminate keyword arrays
-rw-r--r--src/lib/core/wheel.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/core/wheel.c b/src/lib/core/wheel.c
index 02f74a4..96cc0cc 100644
--- a/src/lib/core/wheel.c
+++ b/src/lib/core/wheel.c
@@ -37,6 +37,7 @@ const char *WHEEL_META_KEY[] = {
"Dynamic",
"Description-Content-Type",
"Description",
+ NULL,
};
const char *WHEEL_DIST_KEY[] = {
@@ -48,6 +49,7 @@ const char *WHEEL_DIST_KEY[] = {
"Top-Level",
"Entry-points",
"Record",
+ NULL,
};
static ssize_t wheel_parse_wheel(struct Wheel * pkg, const char * data) {