Bug#675824: shadow: possible segfault in useradd

2012-06-03 Thread Igor Pashev
Package: shadow Version: passwd Severity: normal Dear Maintainer, Function __pw_dup() in lib/pwmem.c allocates uninitialized memory for struct passwd and then fills some members of that struct, but other members (e. g. pw_age) are still uninitialized. It can results in segfault in putpwent()

Bug#675824: shadow: possible segfault in useradd

2012-06-03 Thread Nicolas François
Hello, On Sun, Jun 03, 2012 at 06:54:16PM +0400, pashev.i...@gmail.com wrote: Function __pw_dup() in lib/pwmem.c allocates uninitialized memory for struct passwd and then fills some members of that struct, but other members (e. g. pw_age) are still uninitialized. It can results in segfault

Bug#675824: shadow: possible segfault in useradd

2012-06-03 Thread Игорь Пашев
2012/6/4 Nicolas François nicolas.franc...@centraliens.net: Hello, On Sun, Jun 03, 2012 at 06:54:16PM +0400, pashev.i...@gmail.com wrote: Function __pw_dup() in lib/pwmem.c allocates uninitialized memory for struct passwd and then fills some members of that struct, but other members (e. g.