Package: linuxlogo
Version: 5.11-8.1
Severity: normal
Tags: upstream

Dear Maintainer,

when linuxlogo (5.11-8.1) is executed as a normal user it reports that the
system has 128TB of ram; when it is run as root it will show the correct
amount.

The issue resides in file (ibsysinfo-0.2.2/Linux/sysinfo_linux.c)
In function get_mem_size_iomem is tries to read from /proc/iomem.
As a normal user all of the values will be 00000000-00000000.

It should read the value for MemTotal from /proc/meminfo as this does not
require root privalges.

I don't think runing linuxlogo as root is neccessary or a good idea.



-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (1001, 'testing'), (500, 'testing-debug')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.6.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages linuxlogo depends on:
ii  libc6     2.24-3
ii  lsb-base  9.20160629

linuxlogo recommends no packages.

linuxlogo suggests no packages.

-- no debconf information

Reply via email to