~ubuntu-branches/ubuntu/hardy/openswan/hardy-updates

« back to all changes in this revision

Viewing changes to programs/lwdnsq/lookup.c

  • Committer: Bazaar Package Importer
  • Author(s): Rene Mayrhofer
  • Date: 2005-01-27 16:10:11 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050127161011-idgybmyz3vwhpfiq
Tags: 2.3.0-2
Urgency HIGH due to security issue and problems with build-deps in sarge.
* Fix the security issue. Please see
  http://www.idefense.com/application/poi/display?id=190&
      type=vulnerabilities&flashstatus=false
  for more details. Thanks to Martin Schulze for informing me about
  this issue.
  Closes: #292458: Openswan XAUTH/PAM Buffer Overflow Vulnerability
* Added a Build-Dependency to lynx.
  Closes: #291143: openswan: FTBFS: Missing build dependency.

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
 * for more details.
14
14
 */
15
15
 
16
 
char lookup_c_version[] = "@(#) RCSID $Id: lookup.c,v 1.7 2003/12/24 19:47:30 mcr Exp $";
 
16
char lookup_c_version[] = "@(#) RCSID $Id: lookup.c,v 1.8 2004/12/02 06:16:19 mcr Exp $";
17
17
 
18
18
 
19
19
#include <stdio.h>
101
101
        isc_buffer_t *iscbuf;
102
102
        int success;
103
103
        dnskey_lookup *dl;
 
104
        extern void lwres_sanitize_list(lwres_context_t *ctx);
104
105
 
105
106
        iscmem=NULL;
106
107
        iscbuf=NULL;
122
123
                return;
123
124
        }
124
125
 
 
126
        lwres_sanitize_list(gs->lwctx);
 
127
 
125
128
        lwres_getrrsetbyname_xmit(gs->lwctx, &dl->las);
126
129
 
 
130
        lwres_sanitize_list(gs->lwctx);
 
131
 
127
132
        dl->step = dkl_first;
128
133
        dl->wantedtype = wantedtype;
129
134
        dl->wantedtype_name = xstrdup(wantedtype_name);
639
644
        
640
645
/*
641
646
 * $Log: lookup.c,v $
 
647
 * Revision 1.8  2004/12/02 06:16:19  mcr
 
648
 *      fixed long standing bug with async resolver when there was
 
649
 *      more than one outstanding request.
 
650
 *
642
651
 * Revision 1.7  2003/12/24 19:47:30  mcr
643
652
 *      added "FATAL" prefix for the failure to write.
644
653
 *