Your message dated Thu, 08 Mar 2007 15:47:03 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#361725: fixed in ez-ipupdate 3.0.11b8-12
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Subject: ez-ipupdate: More segfault patches
Package: ez-ipupdate
Version: 3.0.11b8-10
Severity: normal

*** Please type your report below this line ***

A few more instances of unchecked variables continue to produce
segfaults (albeit more rarely than the patch I submitted last year).

 - Robert Jacobs

Patch:

--- ../ez-ipupdate-3.0.11b8/cache_file.c        2003-04-17 13:31:04.000000000 
-0400
+++ cache_file.c        2005-08-18 14:47:20.417859984 -0400
@@ -133,7 +133,9 @@ int read_cache_file(char *file, time_t *
     ipstr = p;
 
     *date = strtoul(datestr, NULL, 10);
-    *ipaddr = strdup(ipstr);
+
+    if (strcmp(ipstr,"(null)")!=0)
+      *ipaddr = strdup(ipstr);
   }
   else
   {
--- ../ez-ipupdate-3.0.11b8/ez-ipupdate.c       2006-04-09 15:24:03.000000000 
-0400
+++ ez-ipupdate.c       2005-08-18 14:44:31.510537800 -0400
@@ -1615,7 +1615,13 @@ int get_if_addr(int sock, char *name, st
   struct ifreq ifr;
 
   memset(&ifr, 0, sizeof(ifr));
-  strcpy(ifr.ifr_name, name);
+
+  if (name == NULL) {
+    dprintf((stderr, "get_if_addr called with name == NULL\n"));
+  } else {
+    strcpy(ifr.ifr_name, name);
+  }
+
   /* why does this need to be done twice? */
   if(ioctl(sock, SIOCGIFADDR, &ifr) < 0) 
   { 
@@ -4748,7 +4754,7 @@ int main(int argc, char **argv)
       if(ipstr != NULL)
       {
 
-        if(address == NULL || *address == '\0')
+        if((address == NULL || *address == '\0') && interface != NULL)
         {
 #ifdef IF_LOOKUP
           struct sockaddr_in sin;



-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12.5
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages ez-ipupdate depends on:
ii  adduser                       3.85       Add and remove users and groups
ii  debconf [debconf-2.0]         1.4.72     Debian configuration management sy
ii  libc6                         2.3.6-5    GNU C Library: Shared libraries an

ez-ipupdate recommends no packages.

-- debconf information:
  ez-ipupdate/dns_mx:
* ez-ipupdate/service_type: dyns
* ez-ipupdate/username:
  ez-ipupdate/server:
  ez-ipupdate/dns_wildcard: false
* ez-ipupdate/hostname:
* ez-ipupdate/interface:
* ez-ipupdate/ppp: false


--- End Message ---
--- Begin Message ---
Source: ez-ipupdate
Source-Version: 3.0.11b8-12

We believe that the bug you reported is fixed in the latest version of
ez-ipupdate, which is due to be installed in the Debian FTP archive:

ez-ipupdate_3.0.11b8-12.diff.gz
  to pool/main/e/ez-ipupdate/ez-ipupdate_3.0.11b8-12.diff.gz
ez-ipupdate_3.0.11b8-12.dsc
  to pool/main/e/ez-ipupdate/ez-ipupdate_3.0.11b8-12.dsc
ez-ipupdate_3.0.11b8-12_i386.deb
  to pool/main/e/ez-ipupdate/ez-ipupdate_3.0.11b8-12_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sam Hocevar (Debian packages) <[EMAIL PROTECTED]> (supplier of updated 
ez-ipupdate package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Thu,  8 Mar 2007 14:42:12 +0100
Source: ez-ipupdate
Binary: ez-ipupdate
Architecture: source i386
Version: 3.0.11b8-12
Distribution: unstable
Urgency: high
Maintainer: Sam Hocevar (Debian packages) <[EMAIL PROTECTED]>
Changed-By: Sam Hocevar (Debian packages) <[EMAIL PROTECTED]>
Description: 
 ez-ipupdate - client for most dynamic DNS services
Closes: 339121 340060 341932 342409 344894 361725 382083 396390 400551 412362 
412500 413255 413921
Changes: 
 ez-ipupdate (3.0.11b8-12) unstable; urgency=high
 .
   * Maintainer upload.
   * Acknowledge previous NMUs by Christian Perrier (Closes: #400551, #412362,
     Closes: #412500, #342409, #344894, #339121, #340060, #341932, #382083,
     Closes: #396390). Thanks a million.
   * Switch patch system to quilt.
 .
   * debian/control:
     + Set policy to 3.7.2.
     + Build-depend on quilt.
     + Build-depend on debhelper (>= 5.0).
     + Added Xs-Vcs-Browser and XS-Vcs-Svn fields.
 .
   * debian/compat:
     + Set compat to 5.
 .
   * debian/po/ca.po:
     + Catalan debconf translation by Jordà Polo (Closes: #413255).
 .
   * debian/po/es.po:
     + Spanish debconf translation by Manuel Porras Peralta (Closes: #413921).
 .
   * debian/po/fr.po:
     + Fixed spelling.
 .
   * debian/patches/000_missing_headers.diff:
   * debian/patches/010_rebootstrap.diff:
   * debian/patches/100_portability.diff:
   * debian/patches/101_syslog_crashes.diff:
   * debian/patches/102_misc_crashes.diff:
   * debian/patches/103_protocol.diff:
   * debian/patches/150_cosmetic.diff:
   * debian/patches/200_default_config.diff:
   * debian/patches/201_upstream_changelog.diff:
     + New patches from old diff.gz.
 .
   * debian/patches/001_automake_syntax.diff:
     + Fix automake syntax so that the package can be rebootstrapped.
 .
   * debian/patches/002_am_maintainer_mode.diff:
     + Add AM_MAINTAINER_MODE.
 .
   * debian/patches/104_misc_crashes.diff:
     + Another run of crash patches by Robert Jacobs (Closes: #361725).
Files: 
 6c8f9dc174c6bb0c0cbf425d0929c361 779 net optional ez-ipupdate_3.0.11b8-12.dsc
 21fd9544f9df5e923ca64e0d3607a26f 151828 net optional 
ez-ipupdate_3.0.11b8-12.diff.gz
 4a18a67e9e814fa7670ad5aff0a3ae19 58262 net optional 
ez-ipupdate_3.0.11b8-12_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFF8C5XfPP1rylJn2ERAsGpAJ9BnxpY6kq3bFVqhmXY9dzfJlUBIACdF5hO
YFP42JdBrcOrHf9fYL5a8nM=
=Es9Y
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to