bugXnee - Bugs: bug #27850, Segmentation Fault in print.c

 
 

bug #27850: Segmentation Fault in print.c

Submitted by:  None
Submitted on:  Thu 29 Oct 2009 04:21:56 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Henrik Sandklef <hesa>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 01 Nov 2009 10:32:18 PM UTC, comment #1:

Already fixed in CVS

Henrik Sandklef <hesa>
Project AdministratorIn charge of this item.
Thu 29 Oct 2009 04:21:56 PM UTC, original submission:

In print.c line 1828
/* Plugin */
fprintf (out, "\n# Plugin file \n");
if (xd->plugin_name==NULL)
{
fprintf (out, "# ");
}
fprintf (out, "%s %s\n",
xnee_xns_key2string(XNEE_PLUGIN_KEY),
xd->plugin_name );

---------------------
Will fail if plugin_name == NULL

I changed it to:
/* Plugin */
fprintf (out, "\n# Plugin file \n");
if (xd->plugin_name==NULL)
{
fprintf (out, "# ");
}
else {
fprintf (out, "%s %s\n",
xnee_xns_key2string(XNEE_PLUGIN_KEY),
xd->plugin_name );
}

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by hesa (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 01 Nov 2009 10:32:18 PM UTChesaStatusNone=>Fixed
      Open/ClosedOpen=>Closed
      Assigned toNone=>hesa

    Back to the top


    Powered by Savane 3.1-cleanup1