anonymous2ch / libproxy

Automatically exported from code.google.com/p/libproxy
GNU Lesser General Public License v2.1
0 stars 0 forks source link

Segmentation Fault on MacOS #209

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
- Launch a detection with libproxy (px_proxy_factory_get_proxies)

What is the expected output? What do you see instead?
- I should have a proxy list, but I have a Segmentation fault instead.

What version of the product are you using? On what operating system?
- Revision 880, on MacOS 10.6. Seems to be fine on my other Mac (10.8)

Please provide any additional information below.

In modules/ignore_ip.cpp, on line 151 :
   "net_ip = sockaddr_from_cidr(ign_ip->sa_family, cidr);"
ign_ip is accessed but it is NULL. It should be tested in the IF statement on 
line 150.

Original issue reported on code.google.com by mugimas...@gmail.com on 22 Apr 2014 at 3:10

GoogleCodeExporter commented 9 years ago
Have a look at issue 194, where I have attached a patch that solved the problem 
for me.
Best regards,
Sven

Original comment by sven.emt...@doremir.com on 4 Jun 2014 at 1:47