[Debian-hebrew-package] Bug#719808: libhdate1: crash on x32, bogosity on 64 bit big-endian

Adam Borowski kilobyte at angband.pl
Thu Aug 15 14:07:44 UTC 2013


Package: libhdate1
Version: 1.6-1
Severity: normal
Tags: patch

Hi!
libhdate calls localtime(long), when its interface requires time_t.

If sizeof(long) == sizeof(time_t), all is ok.
If sizeof(long) > sizeof(time_t), it will work on little-endian, use some
uninitialized memory on big-endian.
If sizeof(long) < sizeof(time_t), it will trample nearby memory.

This crash makes bsdmainutils FTBFS on x32, and bsdmainutils is required for
a regular debootstrap.


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (600, 'unstable'), (500, 'experimental')
Architecture: x32 (x86_64)

Kernel: Linux 3.9.4-x32 (SMP w/5 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libhdate1 depends on:
ii  libc6  2.17-92

libhdate1 recommends no packages.

libhdate1 suggests no packages.

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: time_t.patch
Type: text/x-diff
Size: 322 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-hebrew-package/attachments/20130815/d320fe52/attachment.patch>


More information about the Debian-hebrew-package mailing list