Package: heartbeat
Version: 2.0.8-9
Severity: normal

Here is the command:
# cibadmin -D --obj_type resources -X '<clone id="stonith-ssh">'
Segmentation fault
#

The fact that the XML syntax is bad (missing a '/') is irrelevant.  A message
about bad XML should be displayed not a SEGV.  Programs should not report
errors in parameters by SEGV.

Here is the GDB back-trace:
(gdb) bt
#0  0xb7f3d156 in parse_xml () from /usr/lib/libcrmcommon.so.1
#1  0xb7f3d675 in string2xml () from /usr/lib/libcrmcommon.so.1
#2  0x08049c61 in ?? ()
#3  0x0804d088 in ?? ()
#4  0xbf927674 in ?? ()
#5  0x0804a8f8 in ?? ()
#6  0x0804c560 in ?? ()
#7  0xbf9275c0 in ?? ()
#8  0x0804c46c in ?? ()
#9  0xbf9275b8 in ?? ()
#10 0x0804d088 in ?? ()
#11 0x00000000 in ?? ()
(gdb)


-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-xen-686
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to