Blame rpm-4.9.0-manifest-fix.patch
|
Jindrich Novy |
daa59d |
diff -up rpm-4.9.0/lib/manifest.c.manifest-fix rpm-4.9.0/lib/manifest.c
|
|
Jindrich Novy |
daa59d |
--- rpm-4.9.0/lib/manifest.c.manifest-fix 2010-12-03 13:11:57.000000000 +0100
|
|
Jindrich Novy |
daa59d |
+++ rpm-4.9.0/lib/manifest.c 2011-03-16 14:54:49.502557299 +0100
|
|
Jindrich Novy |
daa59d |
@@ -96,6 +96,7 @@ rpmRC rpmReadPackageManifest(FD_t fd, in
|
|
Jindrich Novy |
daa59d |
|
|
Jindrich Novy |
daa59d |
/* Sanity checks: skip obviously binary lines and dash (for stdin) */
|
|
Jindrich Novy |
daa59d |
if (*s < 32 || rstreq(s, "-")) {
|
|
Jindrich Novy |
daa59d |
+ s = NULL;
|
|
Jindrich Novy |
daa59d |
rpmrc = RPMRC_NOTFOUND;
|
|
Jindrich Novy |
daa59d |
goto exit;
|
|
Jindrich Novy |
daa59d |
}
|