bugXnee - Bugs: bug #17228, SIGSEGV with "cnee --record...

 
 

bug #17228: SIGSEGV with "cnee --record -devra 16 -devra 17 -devra21 -v"

Submitted by:  John Willing <jwilling>
Submitted on:  Fri 28 Jul 2006 07:35:22 PM UTC  
 
Category: cneeSeverity: 3 - Normal
Item Group: Minor faultStatus: 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.

 

Mon 20 Nov 2006 10:05:15 AM UTC, comment #1:

Fixed in coming Xnee (currently in CVS)

Henrik Sandklef <hesa>
Project AdministratorIn charge of this item.
Fri 28 Jul 2006 07:35:22 PM UTC, original submission:

I was playing with some command line opptions and found a
problem in xnee_parse_args in parse.c line 572. If ret is -1 then xnee_get_err_description & xnee_get_err_solution return null pointers which means that the fprintf will fault. I suggest the following changes:

572,573c572,581
< fprintf (stderr, " Error: %s\n", err);
< fprintf (stderr, " Solution: %s\n", descr);
---

>
> if (err == NULL)
> fprintf (stderr, " Error: NULL\n");
> else
> fprintf (stderr, " Error: %s\n", err);
>
> if (descr == NULL)
> fprintf (stderr, " Solution: NULL\n");
> else
> fprintf (stderr, " Solution: %s\n", descr);

John Willing <jwilling>

 

(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

 

CC list is empty

 

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
Mon 20 Nov 2006 10:05:15 AM UTChesaStatusNone=>Fixed
  Assigned toNone=>hesa
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1