Description of problem: Squid uses getcap/setcap kernel interface, but don't check version. New kernels uses array[2] of structures to stora data. Squid uses old interface style. This may (really detected) lead to memory corruption. Version-Release number of selected component (if applicable): squid-3.0.STABLE6 kernel >= 2.6.25. How reproducible: Often. Steps to Reproduce: 1. Run squid under valgrind or ef. 2. Sometimes it crashes without this tools. Actual results: Crash or tool warning. Expected results: Corrert usage of new interface. Additional info: Patch is ready. Obsoletes not-so-correct squid-3.0.STABLE5-bad_allocation patch. May be use libcap for this?
Created attachment 306657 [details] try to user new capget/capset interface.
Just moments before this bug report was filed, I changed the patch to the upstream one, see http://www.squid-cache.org/bugs/show_bug.cgi?id=2350 If you think that even this one is wrong, please try to send it to the upstream bugzilla. Thanks.
It seems, that both patches solves the problem.