@ -62,13 +62,21 @@ int AP_Filesystem_Param::open(const char *fname, int flags)
@@ -62,13 +62,21 @@ int AP_Filesystem_Param::open(const char *fname, int flags)
while(c&&*c){
c++;
if(strncmp(c,"start=",6)==0){
r.start=strtoul(c+6,nullptr,10);
uint32_tv=strtoul(c+6,nullptr,10);
if(v>=UINT16_MAX){
gotofailed;
}
r.start=v;
c+=6;
c=strchr(c,'&');
continue;
}
if(strncmp(c,"count=",6)==0){
r.count=strtoul(c+6,nullptr,10);
uint32_tv=strtoul(c+6,nullptr,10);
if(v>=UINT16_MAX){
gotofailed;
}
r.count=v;
c+=6;
c=strchr(c,'&');
continue;
@ -76,6 +84,12 @@ int AP_Filesystem_Param::open(const char *fname, int flags)
@@ -76,6 +84,12 @@ int AP_Filesystem_Param::open(const char *fname, int flags)