Package: dma
Version: 0.11-1+b1
Severity: minor

Dear Maintainer,

dma segfaults when /etc/aliasdes is not accessible, below is an strace.
to reproduce, make aliases root-readable only and run "dma" without
parameters.

   open("/etc/aliases", O_RDONLY)          = -1 EACCES (Permission denied)
   open("/etc/localtime", O_RDONLY|O_CLOEXEC) = 3
   fstat(3, {st_mode=S_IFREG|0644, st_size=2335, ...}) = 0
   fstat(3, {st_mode=S_IFREG|0644, st_size=2335, ...}) = 0
   read(3, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\t\0\0\0\t\0\0\0\0"..., 
4096) = 2335
   lseek(3, -1476, SEEK_CUR)               = 859
   read(3, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\t\0\0\0\t\0\0\0\0"..., 
4096) = 1476
   close(3)                                = 0
   socket(AF_UNIX, SOCK_DGRAM|SOCK_CLOEXEC, 0) = 3
   connect(3, {sa_family=AF_UNIX, sun_path="/dev/log"}, 110) = 0
   sendto(3, "<19>Mar  2 17:14:40 dma: could n"..., 87, MSG_NOSIGNAL, NULL, 0) 
= 87
   --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0xef886b94} ---
   +++ killed by SIGSEGV +++
   Segmentation fault

-- System Information:
Debian Release: 9.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.4.47-040447-generic (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Reply via email to