]> git.pld-linux.org Git - packages/rpm.git/blob - rpm-parseSpec-skip-empty-tags.patch
- release 47
[packages/rpm.git] / rpm-parseSpec-skip-empty-tags.patch
1 --- rpm-5.4.10/build/parseSpec.c.orig   2013-02-25 14:29:07.874848468 +0100
2 +++ rpm-5.4.10/build/parseSpec.c        2013-02-25 14:29:25.661698897 +0100
3 @@ -92,6 +92,8 @@
4          if (aTags != NULL && aTags[0] != NULL) {
5              ARGV_t av;
6              s = tagCanonicalize(line+1);       /* XXX +1 to skip leading '%' */
7 +           if (strlen(s) == 0) /* not a tag, just unknown macro */
8 +                   goto exit;
9  #if defined(RPM_VENDOR_OPENPKG) /* wildcard-matching-arbitrary-tagnames */
10              av = argvSearchLinear(aTags, s, argvFnmatchCasefold);
11  #else
This page took 0.022748 seconds and 3 git commands to generate.