mirror of
				https://github.com/openresty/openresty.git
				synced 2024-10-13 00:29:41 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			232 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			232 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
| --- src/http/modules/ngx_http_proxy_module.c
 | |
| +++ src/http/modules/ngx_http_proxy_module.c
 | |
| @@ -1865,6 +1865,10 @@ data:
 | |
|  
 | |
|      }
 | |
|  
 | |
| +    if (ctx->size < 0 || ctx->length < 0) {
 | |
| +        goto invalid;
 | |
| +    }
 | |
| +
 | |
|      return rc;
 | |
|  
 | |
|  done:
 |