Bug#550660: duma command fails to preload libduma.so.0.0.0

2011-06-22 Thread Torsten Landschoff

found 550660 2.5.15-1.1
thanks


I just tried to use duma for a simple buffer overrun example. However, I was unable to 
use the "duma" command:

torsten@pulsar:~/strbuf_protect$ duma ./example
ERROR: ld.so: object './libduma.so.0.0.0' from LD_PRELOAD cannot be preloaded: 
ignored.
[program output...]

This still behaves exactly the same.

However, setting LD_PRELOAD manually works:

And still works in 2.5.15-1.1.
The segfault is to be expected of course since this is what DUMA does. I 
expected it to report memory errors like valgrind does.


So it seems it is working when manually LD_PRELOADed. But the duma 
command is still broken.


Greetings, Torsten




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#550660: duma command fails to preload libduma.so.0.0.0

2009-10-11 Thread Torsten Landschoff
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