Bump Standards-Version to 3.9.3 (no changes).
[debian/iodine.git] / debian / patches / uninitialized-inside_topdomain.patch
1 Description: fix an uninitialized variable: 
2  when domain_len < 0 for instance, inside_topdomain is not initialized, but used.
3 Origin: vendor
4 Bug: http://dev.kryo.se/iodine/ticket/98
5 Bug-Debian: http://bugs.debian.org/596740
6 Forwarded: yes
7 Author: Samuel Thibault <sthibault@debian.org>
8 Reviewed-by: gregor herrmann <gregoa@debian.org>
9 Last-Update: 2010-09-20
10
11 --- a/src/iodined.c
12 +++ b/src/iodined.c
13 @@ -1567,7 +1567,7 @@
14         struct query q;
15         int read;
16         int domain_len;
17 -       int inside_topdomain;
18 +       int inside_topdomain = 0;
19  
20         if ((read = read_dns(dns_fd, tun_fd, &q)) <= 0)
21                 return 0;