<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2656.60">
<TITLE>Bug in debug code</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>At the end of 'add_contact' in common/objects.c, the 'DEBUG1' block contains a printf with %s format for new_contact->email and new_contact->pager. But one of these values can be a null pointer. I don't know how your printf understands null pointers but mine (solaris) does not support them and crashes with a Seg fault.</FONT></P>

<P><FONT SIZE=2>The code could be for these two lines :</FONT>
</P>

<P><FONT SIZE=2>printf("\tContact Email Address: %s\n",(new_contact->email ? new_contact->email : "<null>"));</FONT>
<BR><FONT SIZE=2>printf("\tContact Pager Number: %s\n",(new_contact->pager ? new_contact->pager : "<null>"));</FONT>
</P>

</BODY>
</HTML>