Bug#712850: chrony: Name of file in /var/lib/chrony incorrectly calculated.
Package: chrony
Version: 1.24-3.1+deb7u1
Severity: minor
Dear Maintainer,
OK: ls /var/lib/chrony
-56.243.146.128.dat 90.207.238.105.dat chrony.drift
74.10.39.111.dat 90.207.238.106.dat chrony.rtc
-56.243.146.128 isn't an IPv4 address, it probably should be 200.243.146.128
and the code to turn a 32 bit address into four 8 bits parts is using ints
instead of unigned ints. Or the shifting down of the top octect is using an
arithmetic shift instead of logical.
-- System Information:
Debian Release: 7.1
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages chrony depends on:
ii dpkg 1.16.10
ii install-info 4.13a.dfsg.1-10
ii libc6 2.13-38
ii timelimit 1.8-1
ii ucf 3.0025+nmu3
Versions of packages chrony recommends:
ii udev 175-7.2
chrony suggests no packages.
-- Configuration Files:
/etc/init.d/chrony changed [not included]
-- no debconf information
Reply to: