FS#60924 - [shadow] useradd -D -s <any_shell> core dumps
Attached to Project:
Arch Linux
Opened by alexander (pavard) - Wednesday, 28 November 2018, 02:21 GMT
Last edited by Dave Reisner (falconindy) - Saturday, 05 January 2019, 16:15 GMT
Opened by alexander (pavard) - Wednesday, 28 November 2018, 02:21 GMT
Last edited by Dave Reisner (falconindy) - Saturday, 05 January 2019, 16:15 GMT
|
Details
Description:
useradd -D -s <any_shell> core dumps Additional info: * package version(s) shadow 4.6-1 * config and/or log files etc. -----------------------------------------------> (gdb) r Starting program: /usr/bin/useradd -D -s /bin/sh [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". Program received signal SIGSEGV, Segmentation fault. 0x00007ffff762d3c3 in __gen_tempname () from /usr/lib/libc.so.6 (gdb) bt #0 0x00007ffff762d3c3 in __gen_tempname () from /usr/lib/libc.so.6 #1 0x000055555555b7a3 in ?? () #2 0x000055555555a5e9 in ?? () #3 0x00007ffff75e3223 in __libc_start_main () from /usr/lib/libc.so.6 #4 0x000055555555ad0a in ?? () (gdb) -----------------------------------------------> Steps to reproduce: execute as root: useradd -D -s <any_shell> ps. there are similar bugs in other distributions: https://bugzilla.redhat.com/show_bug.cgi?id=1614563 |
This task depends upon
Closed by Dave Reisner (falconindy)
Saturday, 05 January 2019, 16:15 GMT
Reason for closing: Fixed
Additional comments about closing: testing/shadow-4.6-2
Saturday, 05 January 2019, 16:15 GMT
Reason for closing: Fixed
Additional comments about closing: testing/shadow-4.6-2
Comment by loqs (loqs) - Wednesday,
28 November 2018, 14:07 GMT
https://github.com/shadow-maint/shadow/issues/125
Comment by Shaarad (shaaraddalvi) -
Monday, 31 December 2018, 10:54 GMT
Dave, the fix seems to have gone in into the upstream shadow here
-
https://github.com/shadow-maint/shadow/commit/10e388efc2c786d1ec4ed007891bfefa8826b6fd
Can you please update the package?
Comment by
Dave Reisner (falconindy) - Monday,
31 December 2018, 13:16 GMT
This is now shadow-4.6-2 in [testing].