Your message dated Mon, 27 May 2013 21:17:05 +0000
with message-id <e1uh4mv-0000w0...@franck.debian.org>
and subject line Bug#707793: fixed in smcroute 0.95-1+deb7u1
has caused the Debian Bug report #707793,
regarding smcroute: [PATCH] smcroute segfaults on vtun interfaces
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
707793: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=707793
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: smcroute
Version: 0.95-1
Severity: important
Tags: patch
Dear Maintainer,
* What led up to the situation?
I use smcroute to route over vtun interfaces. After upgrade from
squeeze to wheezy, it segfaults when there are vtun interfaces active.
* What exactly did you do (or not do) that was effective (or
ineffective)?
Patch smcroute to not deref a NULL-pointer. The first run, the
ifa->ifa_addr is NULL, but it seems to call the function twice, and the second
time the field is set, so in the end it works fine.
* What was the outcome of this action?
smcroute does not segfault anymore
* What outcome did you expect instead?
Please find attached a patch to fix a NULL-pointer dereference. The manpage for
struct ifaddr says explicitly that ifa_addr can be NULL, so that should be
checked.
-- System Information:
Debian Release: 7.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (x86_64)
Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=UTF-8 (charmap=locale: Cannot set LC_CTYPE
to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash
Versions of packages smcroute depends on:
ii libc6 2.13-38
smcroute recommends no packages.
smcroute suggests no packages.
-- Configuration Files:
/etc/smcroute/startup.sh changed [not included]
-- debconf information excluded
--- ifvc.orig.c 2013-05-11 12:07:49.000000000 +0200
+++ ifvc.c 2013-05-11 12:06:51.000000000 +0200
@@ -50,7 +50,8 @@
}
for (ifa = ifaddr; ifa != NULL; ifa = ifa->ifa_next) {
- int family = ifa->ifa_addr->sa_family;
+ int family = 0;
+ if(ifa->ifa_addr) family = ifa->ifa_addr->sa_family;
/* Skip non-IPv4 and non-IPv6 interfaces */
if ((family != AF_INET) && (family != AF_INET6)) continue;
--- End Message ---
--- Begin Message ---
Source: smcroute
Source-Version: 0.95-1+deb7u1
We believe that the bug you reported is fixed in the latest version of
smcroute, which is due to be installed in the Debian FTP archive.
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 707...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Micha Lenk <mi...@debian.org> (supplier of updated smcroute 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 ftpmas...@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Mon, 27 May 2013 21:22:39 +0200
Source: smcroute
Binary: smcroute
Architecture: source amd64
Version: 0.95-1+deb7u1
Distribution: stable
Urgency: low
Maintainer: Micha Lenk <mi...@debian.org>
Changed-By: Micha Lenk <mi...@debian.org>
Description:
smcroute - static multicast router daemon
Closes: 707793
Changes:
smcroute (0.95-1+deb7u1) stable; urgency=low
.
* Fix a NULL pointer dereferencing in interface vector initialization
(closes: #707793, LP: #1043688).
Checksums-Sha1:
1ed82e6e945295c4313f08eb2d8af40ad41094ed 1744 smcroute_0.95-1+deb7u1.dsc
7491914c1148211fac84d1f96b1e6579fab6f451 4124 smcroute_0.95-1+deb7u1.diff.gz
917dab78b92147448645d048ad9732a2a8847932 23742 smcroute_0.95-1+deb7u1_amd64.deb
Checksums-Sha256:
832a30ed3b11a9f63640f84be085b7da951d68a624a20da367fc75a3a02e436e 1744
smcroute_0.95-1+deb7u1.dsc
a660c60139c761a8ca7065d00b83add9573b3cf06abac3e5bf2e6a19d80ff92e 4124
smcroute_0.95-1+deb7u1.diff.gz
b11ea4753abafa1bb162865b4c6c8fb8b42b0134d3ec6bb1d72caeda414de04b 23742
smcroute_0.95-1+deb7u1_amd64.deb
Files:
2623e3405690b8f9b4c0d7171f7312f8 1744 net extra smcroute_0.95-1+deb7u1.dsc
9d117e0f7c0b7d850e67f80a0beeb584 4124 net extra smcroute_0.95-1+deb7u1.diff.gz
abfb8e31eb5dd405cb12cdd085a71205 23742 net extra
smcroute_0.95-1+deb7u1_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iQIcBAEBCAAGBQJRo7c5AAoJEOpsprlRuFE5Fd8P/1+azGHwjgQagqDBm+EhCgIF
POfOhcqw05uwYEGsUHodcyANCNCcSMw8E9wllOlCSDl1iZFH6tbn/E7W1Wpjtl2D
EHsyFw7UbtZssTYNwNQlAv38s9CsGgHGd/Fsclrrdkd9lpCjqU/8ti7jJGpJXA2A
jWdL1m0IHW328xn9RH8/cgbk2PayIK9aMLmmpsI/YfGPHRO8tVj3Ylt9/Sgc8UY1
yb5mNnQnOviSCUPfidfuIuZhbDwBnYnW6ffElOOggZ4ToiHh9kZmObS0nfCTfscX
Sw/pOT0u5NOojZdowKy1pfmLk/vYQjPSzqRlSBB+NwjPhsFibVoRgncPJOZgfHkr
DYh4m69eJxmoBqcdJBLRjIBmFsGX6dFBQLNqA3BhbhLsOSdzZ+HYJ9SNaVirzwGC
NEomi+toz1iqlztSQygJs5xVO8tkkEQmb4qvbxfTxmKoh9ZYq1g/PBpnQgZq6ODw
OhyFs1Mb3draozGzjWH3mh5AuLbujj4NFI8viWVatbql85GoFrO+0dOBM+id41W0
jrO+8OGciWUbpCLHRdcOuzhWby12HAYiRjedfhKTP6aBT+Yf4FY1oL2c3eE2omho
WHVNqyiWleu/P7BaWgorhsKKLbNAej4Lau1T4OBRTE5uY/1AoqCtO5zw0ZhfyGwZ
0NqHZ0z3+nuZVCA3wZ4h
=gCAV
-----END PGP SIGNATURE-----
--- End Message ---