#556172 notify-osd: segfault using x-canonical-append hint and "<>" chars

Package:
notify-osd
Source:
notify-osd
Description:
daemon that displays passive pop-up notifications
Submitter:
German
Date:
2013-08-19 10:06:04 UTC
Severity:
normal
#556172#5
Date:
2009-11-13 23:39:50 UTC
From:
To:
*** Please type your report below this line ***

I was trying to implement support for append hint on xchat as a plugin
in python.
Example code:

import pynotify
pynotify.init("xchat")

def send_msg(msg):
    n = pynotify.Notification("chat alert", "<%s>" % msg,
"notification-message-im")
    n.set_hint_string("x-canonical-append","")
    n.show()

send_msg("hi")


The first message is shown correctly, if a second arrives notify-osd
segfaults with:

** (notify-osd:17364): WARNING **: bubble_append_message_body(): Got
error "Unknown tag 'hi' on line 1 char 13"

** (notify-osd:17364): DEBUG: \u0000\u0000\u0000\u0000
Segmentation fault

without <> there is no issue

#556172#12
Date:
2010-05-20 15:19:33 UTC
From:
To:
tag 556172 = moreinfo
thanks

Can you still reproduce this? It works fine here, although
I seemed to be able to reproduce it in February.

#556172#19
Date:
2010-05-20 18:08:59 UTC
From:
To:
Still the same issue with 0.9.23-2


** (notify-osd:16006): WARNING **: bubble_append_message_body(): Got
error "Unknown tag 'hi' on line 1 char 13"

** (notify-osd:16006): DEBUG: \u0000\u0000\u0000\u0000
Segmentation fault


The first time works, the second time I get a segmentation fault

#556172#26
Date:
2013-08-19 10:01:55 UTC
From:
To:
wcbfxkwu sowuax syppgnieea
delkf nkgztolizb bnwekzqy
qa S A G E D A O
tyivsab R S W Z G L G Z X C H P D G
rehxn kdlkmpmae mmhgielkeutxqbk
hcpydrl rcwqijk rkncvoetr
cmaphdo W S R M F F D F
feqwwpvykgryfap M Z K L W