Package: gbdfed
Version: 1.2-1

This is on a Debian/testing system on amd64.

Activating any of the items under the top-level "Help" menu causes the 
program to segfault instantly.

The problem is at least partly due to the use of an incorrect terminating 
sentinel in calls to gtk_text_buffer_create_tag(). Currently, the literal 
integer value "0" is used as a sentinel; however, because this is a 32-bit 
value, this is not equivalent to a NULL (or a "0" cast to void*), which is 
what GTK+ expects.

Changing all these zero sentinels to NULLs in guihelp.c allows the help 
browser to appear and function without incident. However, there may be 
other instances in the code where (int)0 sentinels lead to similar 
segfaults, so I hesitate to say that this is all that is needed.


--Daniel


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

Reply via email to