]> git.ipfire.org Git - thirdparty/squid.git/commit
Fix NULL pointer bug when using netdb and test_reachability.
authorwessels <>
Fri, 20 Apr 2007 02:21:34 +0000 (02:21 +0000)
committerwessels <>
Fri, 20 Apr 2007 02:21:34 +0000 (02:21 +0000)
commitf72fb56b62bae0114ddf6369faf2e9e16faeee1c
tree8e444837a35febe1abe28da03f466d0ff7d9fa88
parent6b0cd2cd9d328265a896d1e6b8009731f2c08781
Fix NULL pointer bug when using netdb and test_reachability.

The code in icp_v2.cc was not assigning ICP2state->request.  This only
caused a problem when the 'test_reachability' feature was in use.

I changed the contstructors for ICPState, ICP2State, and ICP3State
classes to accept an HttpRequest parameter.
src/ICP.h
src/icp_v2.cc
src/icp_v3.cc