[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pnet-developers] [bugs #8655] cscc/cscc.c - AddArgument adds garbage (v
From: |
Gopal.V |
Subject: |
[Pnet-developers] [bugs #8655] cscc/cscc.c - AddArgument adds garbage (v0.6.4) |
Date: |
Thu, 22 Apr 2004 10:59:27 -0400 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040206 Firefox/0.8 |
This mail is an automated notification from the bugs tracker
of the project: DotGNU Portable.NET.
/**************************************************************************/
[bugs #8655] Latest Modifications:
Changes by:
Gopal.V <address@hidden>
'Date:
Thu 04/22/04 at 14:59 (Asia/Calcutta)
------------------ Additional Follow-up Comments ----------------------------
Actually in this case it creates a 16 element array :)
Fixing in a few minutes
/**************************************************************************/
[bugs #8655] Full Item Snapshot:
URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=8655>
Project: DotGNU Portable.NET
Submitted by: 0
On: Thu 04/22/04 at 14:27
Category: None
Severity: 5 - Average
Item Group: None
Resolution: None
Assigned to: None
Status: Open
Summary: cscc/cscc.c - AddArgument adds garbage (v0.6.4)
Original Submission: When adding only one argument with AddArgument to an
empty array of strings, 2 elements are actually created, e.g.:
---
char **cmdline;
int cmdline_size;
cmdline = 0;
cmdline_size = 0;
AddArgument(&cmdline, &cmdline_size, "ilasm");
---
cmdline will now contain 2 elements:
cmdline[0] = "ilasm"
cmdline[1] = random garbage
when the second element should in fact contain NULL
Follow-up Comments
------------------
-------------------------------------------------------
Date: Thu 04/22/04 at 14:59 By: t3rmin4t0r
Actually in this case it creates a 16 element array :)
Fixing in a few minutes
-------------------------------------------------------
Date: Thu 04/22/04 at 14:28 By: None
Please email me at maciek(at)mil-sim(dot)net if you need more info
CC List
-------
CC Address | Comment
------------------------------------+-----------------------------
maciek --AT-- mil-sim --DOT-- net | Originator
For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=8655>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/