]> git.pld-linux.org Git - packages/rpm.git/blob - rpm-rpmdeps-segv.patch
- up
[packages/rpm.git] / rpm-rpmdeps-segv.patch
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.06066 seconds and 3 git commands to generate.