Sophie

Sophie

distrib > Mageia > 1 > i586 > media > core-updates-src > by-pkgid > 2ecc1f71865a53cdac1cdca1b8b8cad2 > files > 43

apache-2.2.17-5.6.mga1.src.rpm

--- httpd/modules/http/byterange_filter.c
+++ httpd/modules/http/byterange_filter.c
@@ -501,7 +501,7 @@
             break;
         }
 
-        if (dash == range) {
+        if (dash == cur) {
             /* In the form "-5" */
             if (apr_strtoff(&number, dash+1, &errp, 10) || *errp) {
                 break;