]> git.pld-linux.org Git - packages/rpm.git/blame - rpm-rpmdeps-segv.patch
- up
[packages/rpm.git] / rpm-rpmdeps-segv.patch
CommitLineData
dcc5af2c
JB
1--- rpm-4.4.3/tools/rpmdeps.c.orig 2005-11-14 14:35:31.000000000 +0100
2+++ rpm-4.4.3/tools/rpmdeps.c 2005-11-19 13:58:20.277340896 +0100
3@@ -267,6 +267,10 @@
4
5 switch (rpmdeps_mode) {
6 case RPMDEP_RPMFC:
7+ /* rpmfcApply() doesn't expect empty file list */
8+ if(ac <= 0)
9+ break;
10+
11 /* Build file class dictionary. */
12 fc = rpmfcNew();
13 xx = rpmfcClassify(fc, av, NULL);
This page took 0.048449 seconds and 4 git commands to generate.