Package: dnsmasq
Version: 2.53-1
Severity: serious
Tags: sid
I've got this nasty bugs, when I connect using my nokia n97
dnsmasq crashes, after a lot of trials/debugs
I've found that the place where it crashes is only a side effect
even if the code looks a bit 'obscure':
645. if (config)
646. {
647. struct dhcp_netid_list *list;
648.
649. for (list = config->netid; list; list = list->next)
650. {
651.> list->list->next = netid;
652. netid = list->list;
653. }
654. }
src/rfc2131.c
list->list->next seems to be bogus but looks like it's a circular list
the bt:
0x08065aed in dhcp_reply (context=0x807fbc0, iface_name=0xbffff39c "eth0",
int_index=2, sz=300, now=1275819570, unicast_dest=0, is_inform=0xbffff360,
pxe=0) a
t rfc2131.c:651
(gdb) bt
#0 0x08065aed in dhcp_reply (context=0x807fbc0, iface_name=0xbffff39c "eth0",
int_index=2, sz=300, now=1275819570, unicast_dest=0, is_inform=0xbffff360, pxe=
0) at rfc2131.c:651
#1 0x08060f44 in dhcp_packet (now=1275819570, pxe_fd=0) at dhcp.c:301
#2 0x0805f1c2 in main (argc=8, argv=0xbffff794) at dnsmasq.c:688
(gdb) p list->list
$6 = (struct dhcp_netid *) 0x57e58955
(gdb) p list->list->next
Cannot access memory at address 0x57e58959
anyway disabling i18n the problem does not happens,
looks like canonicalise() in utils.c has something to do with the problem
the linked list code was added in 2.53
Regards
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (x86_64)
Kernel: Linux 2.6.26-2-xen-amd64 (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Versions of packages dnsmasq depends on:
ii adduser 3.112 add and remove users and groups
pn dnsmasq-base <none> (no description available)
ii netbase 4.41 Basic TCP/IP networking system
dnsmasq recommends no packages.
Versions of packages dnsmasq suggests:
pn resolvconf <none> (no description available)
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]