← Back to team overview

touch-packages team mailing list archive

[Bug 1023584] Re: ifconfig dies with "stack smashing detected" when configuring inet6 address 11.04

 

Does this still occur in newer version of Ubuntu? I suspect that this
was fixed long ago.

** Changed in: net-tools (Ubuntu)
       Status: New => Incomplete

** Tags added: amd64 natty

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to net-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1023584

Title:
  ifconfig dies with "stack smashing detected" when configuring inet6
  address 11.04

Status in net-tools package in Ubuntu:
  Incomplete

Bug description:
  This seems like a bug to me?

  $ ifconfig 6in4
  6in4      Link encap:IPIP Tunnel  HWaddr   
            inet6 addr: 2001:470:ad0e:ffff::2/128 Scope:Global
            POINTOPOINT NOARP  MTU:1480  Metric:1
            RX packets:0 errors:0 dropped:0 overruns:0 frame:0
            TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
            collisions:0 txqueuelen:0 
            RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

  $ sudo ifconfig 6in4 inet6 pointopoint 2001:470:ad0e:ffff::1
  SIOCSIFDSTADDR: No such device
  *** stack smashing detected ***: ifconfig terminated
  ======= Backtrace: =========
  /lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x37)[0x7f5b4081adb7]
  /lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x0)[0x7f5b4081ad80]
  ifconfig[0x40407f]
  /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xff)[0x7f5b4073aeff]
  ifconfig[0x401a79]
  ======= Memory map: ========
  00400000-00410000 r-xp 00000000 08:01 1310813                            /sbin/ifconfig
  0060f000-00610000 r--p 0000f000 08:01 1310813                            /sbin/ifconfig
  00610000-00612000 rw-p 00010000 08:01 1310813                            /sbin/ifconfig
  017a7000-017c8000 rw-p 00000000 00:00 0                                  [heap]
  7f5b4025e000-7f5b40273000 r-xp 00000000 08:01 133379                     /lib/x86_64-linux-gnu/libgcc_s.so.1
  7f5b40273000-7f5b40472000 ---p 00015000 08:01 133379                     /lib/x86_64-linux-gnu/libgcc_s.so.1
  7f5b40472000-7f5b40473000 r--p 00014000 08:01 133379                     /lib/x86_64-linux-gnu/libgcc_s.so.1
  7f5b40473000-7f5b40474000 rw-p 00015000 08:01 133379                     /lib/x86_64-linux-gnu/libgcc_s.so.1
  7f5b40474000-7f5b4071c000 r--p 00000000 08:01 3070                       /usr/lib/locale/locale-archive
  7f5b4071c000-7f5b408a6000 r-xp 00000000 08:01 131645                     /lib/x86_64-linux-gnu/libc-2.13.so
  7f5b408a6000-7f5b40aa6000 ---p 0018a000 08:01 131645                     /lib/x86_64-linux-gnu/libc-2.13.so
  7f5b40aa6000-7f5b40aaa000 r--p 0018a000 08:01 131645                     /lib/x86_64-linux-gnu/libc-2.13.so
  7f5b40aaa000-7f5b40aab000 rw-p 0018e000 08:01 131645                     /lib/x86_64-linux-gnu/libc-2.13.so
  7f5b40aab000-7f5b40ab1000 rw-p 00000000 00:00 0 
  7f5b40ab1000-7f5b40ad2000 r-xp 00000000 08:01 131642                     /lib/x86_64-linux-gnu/ld-2.13.so
  7f5b40cb6000-7f5b40cb9000 rw-p 00000000 00:00 0 
  7f5b40ccd000-7f5b40cce000 r--p 00000000 08:01 38547                      /usr/share/locale-langpack/en_GB/LC_MESSAGES/libc.mo
  7f5b40cce000-7f5b40ccf000 r--p 00000000 08:01 37622                      /usr/share/locale-langpack/en_GB/LC_MESSAGES/net-tools.mo
  7f5b40ccf000-7f5b40cd1000 rw-p 00000000 00:00 0 
  7f5b40cd1000-7f5b40cd2000 r--p 00020000 08:01 131642                     /lib/x86_64-linux-gnu/ld-2.13.so
  7f5b40cd2000-7f5b40cd4000 rw-p 00021000 08:01 131642                     /lib/x86_64-linux-gnu/ld-2.13.so
  7fff2181a000-7fff2183b000 rw-p 00000000 00:00 0                          [stack]
  7fff218dc000-7fff218dd000 r-xp 00000000 00:00 0                          [vdso]
  ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/net-tools/+bug/1023584/+subscriptions