Subject: cpu: usermod -L segfault on non-existing user

From: Wichert Akkerman <[email-masked]>
Date: Wed, 21 Jan 2004 12:27:11 +0100

Package: cpu
Version: 1.4.3-1
Severity: normal

Seems I managed to found another segfault problem:

# cpu usermod -L doesnotexist
Segmentation fault (core dumped)

Wichert.

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux vortex 2.6.0-test9 #2 Mon Nov 3 13:47:06 CET 2003 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages cpu depends on:
ii  cracklib2                   2.7-13       A pro-active password checker libr
ii  debconf                     1.3.22       Debian configuration management sy
ii  libc6                       2.3.2.ds1-10 GNU C Library: Shared libraries an
ii  libldap2                    2.1.23-1     OpenLDAP libraries
ii  ucf                         0.26         Update Configuration File: preserv

-- debconf information:
  cpu/ldap/USER_BASE: 
* cpu/ldap_uri: ldap://localhost
  cpu/ldap/LDAP_URI: ldap://localhost
  cpu/overwrite_conf: false
* cpu/ldap_dn: cn=admin,dc=attingo,dc=nl
* cpu/do_debconf: false
* cpu/ldap_base: dc=attingo,dc=nl
  cpu/ldap/BIND_DN: 
  cpu/ldap/GROUP_BASE: