URL:
<http://gna.org/bugs/?22348>
Summary: nationlist is a dangling pointer
Project: Freeciv
Submitted by: cazfi
Submitted on: Tue 15 Jul 2014 09:19:52 AM EEST
Category: general
Severity: 3 - Normal
Priority: 5 - Normal
Status: Ready For Test
Assigned to: None
Originator Email:
Open/Closed: Open
Release:
Discussion Lock: Any
Operating System: None
Planned Release: 2.6.0
_______________________________________________________
Details:
ruledit.nationlist points directly to internals of the ruleset secfile. Once
ruleset loading finishes and files are freed, it's dangling pointer.
Attached fix makes it to use a copy of the string instead.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Tue 15 Jul 2014 09:19:52 AM EEST Name: DanglingNationlist.patch Size:
572B By: cazfi
<http://gna.org/bugs/download.php?file_id=21433>
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?22348>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev