Bugs item #1576355, was opened at 2006-10-13 04:46
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=757416&aid=1576355&group_id=144022
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: dooglus (dooglus)
Assigned to: Nobody/Anonymous (nobody)
Summary: variable used after it's been free'd
Initial Comment:
Since xeraco seems to actually be looking at the
patches I submitted last week, I'll continue submitting
new bugs when I find them.
Here's one where the command line arguments are
accessed after they've been free'd:
if(*iter=="-w")
{
[...]
arg_list.erase(iter);
}
if(*iter=="-h")
The erase() method free()s *iter, and so it's not valid
to use *iter on the following lines. Replacing the
"if"s by "else if"s solves this problem, as in the
attached patch, also available here:
* http://dooglus.rincevent.net/random/main1.txt
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=757416&aid=1576355&group_id=144022
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl