diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2020-09-01 12:15:33 +0300 |
---|---|---|
committer | Hyunggi Lee <hyunggi.lee@samsung.com> | 2024-07-02 12:27:56 +0900 |
commit | 71c6c80f9dce836e6cbb5a32c4640fd3460d2f9a (patch) | |
tree | 091c1a826d3757b4090f6efd878a2836469477c5 | |
parent | 4e00f0275c044daec5084bf0ab8cb319175cf346 (diff) | |
download | rpm-71c6c80f9dce836e6cbb5a32c4640fd3460d2f9a.tar.gz rpm-71c6c80f9dce836e6cbb5a32c4640fd3460d2f9a.tar.bz2 rpm-71c6c80f9dce836e6cbb5a32c4640fd3460d2f9a.zip |
Add missing terminator to copyTagsFromMainDebug array
headerCopyTags() expects a 0-terminated array, this was overflowing
(spotted by address-sanitizer)
-rw-r--r-- | build/files.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/build/files.c b/build/files.c index c641528a4..daa09b2a5 100644 --- a/build/files.c +++ b/build/files.c @@ -2769,6 +2769,7 @@ static rpmTag copyTagsFromMainDebug[] = { RPMTAG_OS, RPMTAG_PLATFORM, RPMTAG_OPTFLAGS, + 0 }; /* this is a hack: patch the summary and the description to include |