Package: duma
Version: 2.5.15-1
Severity: normal
Hi Julien,
I just tried to use duma for a simple buffer overrun example. However, I was
unable to use the "duma" command:
tors...@pulsar:~/strbuf_protect$ duma ./example
ERROR: ld.so: object './libduma.so.0.0.0' from LD_PRELOAD cannot be preloaded:
ignored.
[program output...]
However, setting LD_PRELOAD manually works:
tors...@pulsar:~/strbuf_protect$ LD_PRELOAD=/usr/lib/libduma.so.0.0.0 ./example
DUMA 2.5.15 (shared library, NO_LEAKDETECTION)
Copyright (C) 2006 Michael Eddington
Copyright (C) 2002-2008 Hayati Ayguen , Procitec GmbH
Copyright (C) 1987-1999 Bruce Perens
Identifier 0 maps to name foo.
Buffer too small for name of identifier 1.
Segmentation fault
I am wondering over the segfault (valgrind detects the error, but electric
fence segfaults as well) - the example overwrites some hundred bytes after the
end of the buffer.
Greetings, Torsten
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.31.3 (SMP w/1 CPU core; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages duma depends on:
ii libc6 2.9-27 GNU C Library: Shared libraries
ii libgcc1 1:4.4.1-5 GCC support library
ii libstdc++64.4.1-5The GNU Standard C++ Library v3
duma recommends no packages.
duma suggests no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org