[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-xnee] [bug #23965] Uninitialized variable in cnee
From: |
Peter Fales |
Subject: |
[Bug-xnee] [bug #23965] Uninitialized variable in cnee |
Date: |
Wed, 30 Jul 2008 11:38:48 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.16) Gecko/20080716 SeaMonkey/1.1.11 |
URL:
<http://savannah.gnu.org/bugs/?23965>
Summary: Uninitialized variable in cnee
Project: Xnee
Submitted by: psfales
Submitted on: Wednesday 07/30/2008 at 11:38
Category: cnee
Severity: 3 - Normal
Item Group: Minor fault
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
If one types "cnee" with no arguments, the value of an un-initialzied pointer
is printed. On Linux, the results in garbabe printed on the screen:
$ cnee
Error number: 6
Error: Wrong paramters
Description: You have given invalid input to Xnee
Argument: X)Ê¿
I used this patch:
diff -ur xnee-3.02/cnee/src/parse.c xnee-3.02.new/cnee/src/parse.c
--- xnee-3.02/cnee/src/parse.c 2007-06-28 05:14:17.000000000 -0500
+++ xnee-3.02.new/cnee/src/parse.c 2008-07-29 22:40:01.000000000 -0500
@@ -522,7 +522,7 @@
const char *descr;
const char *err;
const char *sol;
- char *saved_arg;
+ char *saved_arg = "(NONE)";
int entry ;
int args_used;
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?23965>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug-xnee] [bug #23965] Uninitialized variable in cnee,
Peter Fales <=