[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dhclient aborting with a stack smashing error



Hello,

Samuel Thibault, le Thu 14 Mar 2013 00:46:26 +0100, a écrit :
> Thomas Schwinge, le Wed 13 Mar 2013 22:05:03 +0100, a écrit :
> >     #0  __stack_chk_fail () at stack_chk_fail.c:29
> >     #1  0x0819b514 in __stack_chk_fail_local ()
> >     #2  0x08071b9b in discover_interfaces (state=state@entry=2) at discover.c:1331
> >     #3  0x08052468 in main (argc=8, argv=0x1024e04) at dhclient.c:478
> > 
> > So in discover_interfaces it fails.  And now I wonder if there's a
> > coincidence between that function, right near its beginning calling
> > getifaddrs (via begin_iface_scan), and the Debian eglibc changelog
> > mentioning »patches/hurd-i386/tg-ifaddrs_v6.diff: New patch, fixes IPv6
> > addresses in getifaddrs«
> 
> It looks very much so.

I had a look, it seems I simply missed initializing the sa_len field...
Will commit in our tree and the debian package.

Samuel


Reply to: