From 1234f9de1795dc35cbce6111c8ed477a00c05a74 Mon Sep 17 00:00:00 2001 From: Slava Barinov Date: Tue, 30 Jul 2019 10:36:30 +0300 Subject: Fix uninitialized data read SVACE issue Change-Id: Ie77018682ed64f7f55eb7f40bf153578801f2a30 Signed-off-by: Slava Barinov --- build/pack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3