Hello all,

Name        : rpm-devel
Version     : 4.11.1
Release     : 6.5.1

I am acquiring tag value as such from rpm-devel:

headerGet(g_PackageHeader, RPMTAG_VENDOR,
g_PackageVendor,HEADERGET_EXT);

This variable "g_PackageVendor" is compiling yet producing a segfault
upon execution. What is the proper access to this tag data?

Here I locate the problem:
(gdb) step
216                     headerGet(g_PackageHeader, RPMTAG_VENDOR, 
g_PackageVendor,
HEADERGET_EXT);
(gdb) print g_PackageVendor
 = (rpmtd) 0x0

Yet, using RPM CLI I receive data:
Vendor      : openSUSE

Thanks.
Thomas Jones

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to