]> git.pld-linux.org Git - packages/squid.git/blob - squid-2.5.STABLE5-proxy_abuse.patch
- fix memory leak in the processing of malformed DNS responses
[packages/squid.git] / squid-2.5.STABLE5-proxy_abuse.patch
1 Index: squid/src/http.c
2 diff -c squid/src/http.c:1.384.2.15 squid/src/http.c:1.384.2.16
3 *** squid/src/http.c:1.384.2.15 Sat Apr 24 08:07:08 2004
4 --- squid/src/http.c    Tue Jun  8 04:54:07 2004
5 ***************
6 *** 65,71 ****
7       if (httpState == NULL)
8         return;
9       if (httpState->body_buf) {
10 !       clientAbortBody(httpState->orig_request);
11         if (httpState->body_buf) {
12             memFree(httpState->body_buf, MEM_8K_BUF);
13             httpState->body_buf = NULL;
14 --- 65,73 ----
15       if (httpState == NULL)
16         return;
17       if (httpState->body_buf) {
18 !       if (httpState->orig_request->body_connection) {
19 !           clientAbortBody(httpState->orig_request);
20 !       }
21         if (httpState->body_buf) {
22             memFree(httpState->body_buf, MEM_8K_BUF);
23             httpState->body_buf = NULL;
This page took 0.067294 seconds and 3 git commands to generate.