------------------------------------------------------------ revno: 13857 revision-id: squid3@treenet.co.nz-20150701113425-70drt2dy7v63qq9c parent: squid3@treenet.co.nz-20150701062638-uensmnwpnxskyy7s committer: Amos Jeffries branch nick: 3.5 timestamp: Wed 2015-07-01 04:34:25 -0700 message: ext_edirectory_userip_acl: fix uninitialized variable Detected by Coverity Scan. Issue 1258704 ------------------------------------------------------------ # Bazaar merge directive format 2 (Bazaar 0.90) # revision_id: squid3@treenet.co.nz-20150701113425-70drt2dy7v63qq9c # target_branch: http://bzr.squid-cache.org/bzr/squid3/3.5 # testament_sha1: 741633dc1357a1a5633073600ca2c7f9192ff1ee # timestamp: 2015-07-01 11:34:57 +0000 # source_branch: http://bzr.squid-cache.org/bzr/squid3/3.5 # base_revision_id: squid3@treenet.co.nz-20150701062638-\ # uensmnwpnxskyy7s # # Begin patch === modified file 'helpers/external_acl/eDirectory_userip/ext_edirectory_userip_acl.cc' --- helpers/external_acl/eDirectory_userip/ext_edirectory_userip_acl.cc 2015-01-13 09:13:49 +0000 +++ helpers/external_acl/eDirectory_userip/ext_edirectory_userip_acl.cc 2015-07-01 11:34:25 +0000 @@ -1500,6 +1500,7 @@ memset(bufb, '\0', sizeof(bufb)); memset(bufc, '\0', sizeof(bufc)); memset(sfmod, '\0', sizeof(sfmod)); + memset(&sv, 0, sizeof(sv)); InitConf(); xstrncpy(edui_conf.program, argv[0], sizeof(edui_conf.program));