SHA256
6
0
forked from pool/rpm

- fix readLine segfault [bnc#582599]

OBS-URL: https://build.opensuse.org/package/show/Base:System/rpm?expand=0&rev=38
This commit is contained in:
2010-02-24 10:58:45 +00:00
committed by Git OBS Bridge
parent c1731971c3
commit 02bfd7404a
3 changed files with 17 additions and 1 deletions

10
readlineofi.diff Normal file
View File

@@ -0,0 +1,10 @@
--- build/parseSpec.c.orig 2010-02-15 11:49:29.000000000 +0000
+++ build/parseSpec.c 2010-02-24 10:38:25.000000000 +0000
@@ -283,6 +283,7 @@ int readLine(rpmSpec spec, int strip)
retry:
if ((rc = readLineFromOFI(spec, ofi)) != 0)
return rc;
+ ofi = spec->fileStack;
/* Copy next file line into the spec line buffer */
rc = copyNextLineFromOFI(spec, ofi);