]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- fixed segv
authorMichal Moskal <michal@moskal.me>
Thu, 28 Jun 2001 13:58:00 +0000 (13:58 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm-fast-alAddPackage.patch -> 1.3

rpm-fast-alAddPackage.patch

index 008766e91ad7fab55e220e6f6a4bbad0d01a8250..1f8580463080751321aeb461d4b3f82700343bcd 100644 (file)
@@ -77,7 +77,7 @@
 +      else
 +      return (void *) p;
 +    }
-+  if(l > nmemb-1)
++  if((long)l > (long)nmemb-1)
 +        return NULL;
 +  p = (void *) (((const char *) base) + (l * size));
 +  return (void *)p;
This page took 0.109456 seconds and 4 git commands to generate.