Package: iodine
Version: 0.6.0~rc1-1
Severity: normal
Tags: patch
Hello,
The attached patch fixes an uninitialized variable: when domain_len < 0
for instance, inside_topdomain is not initialized, but used.
Samuel
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1,
'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.35 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages iodine depends on:
ii adduser 3.112 add and remove users and groups
ii debconf [debconf-2.0] 1.5.35 Debian configuration management sy
ii libc6 2.11.2-2 Embedded GNU C Library: Shared lib
ii makedev 2.3.1-89 creates device files in /dev
ii udev 160-1 /dev/ and hotplug management daemo
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
iodine recommends no packages.
Versions of packages iodine suggests:
ii dnsutils 1:9.7.1.dfsg.P2-2 Clients provided with BIND
pn fping <none> (no description available)
ii gawk 1:3.1.7.dfsg-5 GNU awk, a pattern scanning and pr
pn ipcalc <none> (no description available)
ii iproute 20100519-3 networking and traffic control too
-- debconf information:
iodine/daemon_options:
* iodine/start_daemon: false
--
Samuel Thibault <[email protected]>
* c is away : cuisine; bouffe
<y> oh, moi je fais plut�t cuisine & bouffe en fait :)
<c> oui c'est vrai, certains font cuisine && bouffe (juste au cas o�... ;-))
<y> ( cuisine && bouffe ) || restau
<N> voire ((cuisine && bouffe) || restau) & ap�ritif
-+- #ens-mim -+-
--- src/iodined.c.orig 2010-09-13 20:55:40.000000000 +0200
+++ src/iodined.c 2010-09-13 20:56:29.000000000 +0200
@@ -1568,7 +1567,7 @@
struct query q;
int read;
int domain_len;
- int inside_topdomain;
+ int inside_topdomain = 0;
if ((read = read_dns(dns_fd, tun_fd, &q)) <= 0)
return 0;