[squid-dev] [PATCH] Null pointer dereference with Coverity

Eduard Bagdasaryan eduard.bagdasaryan at measurement-factory.com
Fri Sep 16 10:01:21 UTC 2016


Hello,

This patch addresses the following problem, disclosed by
recent Coverity scan:

 > *** CID 1372977:  Null pointer dereferences  (FORWARD_NULL)
 > /src/adaptation/icap/ModXact.cc: 1278 in
 > Adaptation::Icap::ModXact::finalizeLogInfo()()
 >  [ ... ]
 >
 >   CID 1372977:  Null pointer dereferences  (FORWARD_NULL)
 > >>>     Comparing "virgin_request_" to null implies that
 > >>>     "virgin_request_" might be null.
 >  [ ... ]


Regards,
Eduard.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-dev/attachments/20160916/56d32e63/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SQUID-207-coverity-fix-t1.patch
Type: text/x-patch
Size: 2791 bytes
Desc: not available
URL: <http://lists.squid-cache.org/pipermail/squid-dev/attachments/20160916/56d32e63/attachment.bin>


More information about the squid-dev mailing list