summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSlava Barinov <v.barinov@samsung.com>2019-07-30 10:36:30 +0300
committerSlava Barinov <v.barinov@samsung.com>2019-07-30 10:39:26 +0300
commit1234f9de1795dc35cbce6111c8ed477a00c05a74 (patch)
treed36d7956f7e6efa24cb2097d18a4f91fc5abda46
parentc31483214b77a41d8d07fa496083a8e055b7df91 (diff)
downloadrpm-1234f9de1795dc35cbce6111c8ed477a00c05a74.tar.gz
rpm-1234f9de1795dc35cbce6111c8ed477a00c05a74.tar.bz2
rpm-1234f9de1795dc35cbce6111c8ed477a00c05a74.zip
Fix uninitialized data read SVACE issuesubmit/tizen_base/20190731.040839
Change-Id: Ie77018682ed64f7f55eb7f40bf153578801f2a30 Signed-off-by: Slava Barinov <v.barinov@samsung.com>
-rw-r--r--build/pack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/pack.c b/build/pack.c
index eb87eca17..6b710380e 100644
--- a/build/pack.c
+++ b/build/pack.c
@@ -343,7 +343,7 @@ static rpmRC writeRPM(Header *hdrp, unsigned char ** pkgidp, const char *fileNam
if ((err = poptParseArgvString(buildinfo, &count, &strings))) {
rc = RPMRC_FAIL;
free(buildinfo);
- rpmlog(RPMLOG_ERR, _("Can't parse BUILDINFO tag: %s\n"), poptStrerror(xx));
+ rpmlog(RPMLOG_ERR, _("Can't parse BUILDINFO tag: %s\n"), poptStrerror(err));
goto exit;
}