parseSignArgs call fails on sucess
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
rpm (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
for version 4.14.1+dfsg1-2.dpkg affects python3-rpm
in python/rpmsmodule.c the two calls to parseSignArgs in addSign and delSign should be inverted:
--- rpm-4.14.
+++ rpm-4.14.
@@ -20,7 +20,7 @@ static PyObject * addSign(PyObject * sel
const char *path = NULL;
struct rpmSignArgs sargs;
- if (parseSignArgs(
+ if (!parseSignArgs
return NULL;
return PyBool_
@@ -31,7 +31,7 @@ static PyObject * delSign(PyObject * sel
const char *path = NULL;
struct rpmSignArgs sargs;
- if (parseSignArgs(
+ if (!parseSignArgs
return NULL;
return PyBool_
This is fixed in newer upstream, but not in 4.14.1.