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

 
 

bug #27850: Segmentation Fault in print.c

Submitter:  None
Submitted:  Thu 29 Oct 2009 04:21:56 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  hesa
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

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

Already fixed in CVS

Henrik Sandklef <hesa>
Group administrator
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 Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-11-01 hesa StatusNone Fixed
        Open/ClosedOpen Closed
        Assigned toNone hesa

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code