~ubuntu-branches/ubuntu/precise/clamav/precise-updates

« back to all changes in this revision

Viewing changes to clamdscan/proto.c

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2015-01-30 09:01:52 UTC
  • mfrom: (118.1.5 precise-security)
  • Revision ID: package-import@ubuntu.com-20150130090152-es6oz6eg0wsa4r40
Tags: 0.98.6+dfsg-0ubuntu0.12.04.1
* Updated to 0.98.6 to fix security issues, including CVE-2014-9328.
* Removed upstreamed patches:
  - d/p/0002-Add-an-additional-n-after-the-number-in-the-pidfile.patch
  - d/p/0017-Bump-.so-version-number.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
99
99
        memset(&hints, 0x00, sizeof(struct addrinfo));
100
100
        hints.ai_family = AF_UNSPEC;
101
101
        hints.ai_socktype = SOCK_STREAM;
102
 
        hints.ai_flags = AI_PASSIVE;
103
102
 
104
103
        if ((res = getaddrinfo(ipaddr, port, &hints, &info))) {
105
 
            logg("!Could not lookup %s: %s\n", opt->strarg, gai_strerror(res));
 
104
            logg("!Could not lookup %s: %s\n", ipaddr ? ipaddr : "", gai_strerror(res));
106
105
            opt = opt->nextarg;
107
106
            continue;
108
107
        }