]> git.pld-linux.org Git - packages/rpm.git/blobdiff - rpm-fast-alAddPackage.patch
- fixed segv
[packages/rpm.git] / 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.037819 seconds and 4 git commands to generate.