------------------------------------------------------------ revno: 12594 revision-id: squid3@treenet.co.nz-20130722050911-8xb2ilctcs9jquz0 parent: squid3@treenet.co.nz-20130713132445-rnglae7xt0nyz58a fixes bug(s): http://bugs.squid-cache.org/show_bug.cgi?id=3863 committer: Amos Jeffries branch nick: 3.3 timestamp: Sun 2013-07-21 23:09:11 -0600 message: Bug 3863: myportname acl causes segmentation fault ------------------------------------------------------------ # Bazaar merge directive format 2 (Bazaar 0.90) # revision_id: squid3@treenet.co.nz-20130722050911-8xb2ilctcs9jquz0 # target_branch: http://bzr.squid-cache.org/bzr/squid3/3.3 # testament_sha1: 13549d4593e3c6bccca78363eab4d89caeb36b16 # timestamp: 2013-07-22 05:57:30 +0000 # source_branch: http://bzr.squid-cache.org/bzr/squid3/3.3 # base_revision_id: squid3@treenet.co.nz-20130713132445-\ # rnglae7xt0nyz58a # # Begin patch === modified file 'src/acl/MyPortName.cc' --- src/acl/MyPortName.cc 2012-09-01 14:38:36 +0000 +++ src/acl/MyPortName.cc 2013-07-22 05:09:11 +0000 @@ -44,7 +44,7 @@ int ACLMyPortNameStrategy::match(ACLData * &data, ACLFilledChecklist *checklist) { - if (checklist->conn() != NULL) + if (checklist->conn() != NULL && checklist->conn()->port != NULL) return data->match(checklist->conn()->port->name); if (checklist->request != NULL) return data->match(checklist->request->myportname.termedBuf());