bug-xnee
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-xnee] [bug #27850] Segmentation Fault in print.c


From: anonymous
Subject: [Bug-xnee] [bug #27850] Segmentation Fault in print.c
Date: Thu, 29 Oct 2009 16:21:57 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3

URL:
  <http://savannah.gnu.org/bugs/?27850>

                 Summary: Segmentation Fault in print.c
                 Project: Xnee
            Submitted by: None
            Submitted on: Thu 29 Oct 2009 04:21:56 PM UTC
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:



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 );
    }






    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?27850>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]