iftab_helper segfaults if /etc/iftab is missing
Bug #34078 reported by
Michael Bienia
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
udev (Ubuntu) |
Fix Released
|
Medium
|
Scott James Remnant (Canonical) |
Bug Description
I've renamed /etc/iftab some time ago because of a bug which is now resolved.
But without a /etc/iftab segfaults:
$ /lib/udev/
Segmentation fault
(with a /etc/iftab it works)
Backtrace:
Program received signal SIGSEGV, Segmentation fault.
0x00002aaaaae85fc0 in strlen () from /lib/libc.so.6
(gdb) bt
#0 0x00002aaaaae85fc0 in strlen () from /lib/libc.so.6
#1 0x00002aaaaae71f90 in puts () from /lib/libc.so.6
#2 0x0000000000401730 in ?? ()
#3 0x00002aaaaae3149b in __libc_start_main () from /lib/libc.so.6
This is on amd64 running dapper. The udev version is 079-0ubuntu18.
To post a comment you must log in.
Format: 1.7 32419e6b3149000 1c7 622 admin important udev_079- 0ubuntu19. dsc ddea3fa6a1c1b2a ee8 46696 admin important udev_079- 0ubuntu19. diff.gz
Date: Wed, 15 Mar 2006 18:28:39 +0000
Source: udev
Binary: udev udev-udeb
Architecture: source
Version: 079-0ubuntu19
Distribution: dapper
Urgency: low
Maintainer: Scott James Remnant <email address hidden>
Changed-By: Scott James Remnant <email address hidden>
Description:
udev - rule-based device node and kernel event manager
udev-udeb - rule-based device node and kernel event manager
Changes:
udev (079-0ubuntu19) dapper; urgency=low
.
"For I am ordinary, unimportant, and undeserving of such attention."
.
* Place joysticks in the "plugdev" group, for programs that access the
joystick device directly and not through X. Ubuntu: #33354.
* The storage device enumerator used by the installer was a bit too
efficient; it would generate new symlink names every time an add event
for a device was received. The installer causes many add events to occur,
each time hw-detect and the partitioner is run. Fix the script to
return an existing symlink name if one exists in the udevdb.
Ubuntu: #27926.
* Fix iftab_helper segmentation fault when /etc/iftab doesn't exist,
caused by returning NULL rather than the suggested name; now returns
whatever name the kernel gave. Ubuntu: #34078.
Files:
6e9c2efb7ada31
0032e1712e973a
Package-Type: udeb