canna-utils: addwords segfaults on amd64 when finished
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
canna (Ubuntu) |
Invalid
|
Medium
|
Daniel T Chen |
Bug Description
Note: This bug was reported using reportbug to the ubuntu-users mailing list.
Because USE_VARARGS does not get set when building the utilities, the ancient version of Message gets used and pointer parameters get converted to ints, causing a segfault on 64 bit systems.
adding the following to the top of can.c and rutil.c fixed the problem:
#ifdef __STDC__
# define USE_VARARGS
#endif
-- System Information:
Debian Release: testing/unstable
APT prefers dapper-updates
APT policy: (500, 'dapper-updates'), (500, 'dapper-security'), (500,
'dapper')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15.1
Locale: LANG=en_AU.UTF-8, LC_CTYPE=
Versions of packages canna-utils depends on:
ii libc6 2.3.6-0ubuntu7 GNU C Library: Shared libraries
an
ii libcanna1g 3.7p3-2.1 Canna Runtime Library
canna-utils recommends no packages.
-- no debconf information
Originally reported by bill at taniwha.org