URL:
<http://gna.org/bugs/?17677>
Summary: NULL dereference in city sanity check debug message
Project: Freeciv
Submitted by: jtn
Submitted on: Wed Feb 9 00:04:50 2011
Category: None
Severity: 2 - Minor
Priority: 5 - Normal
Status: Ready For Test
Assigned to: jtn
Originator Email:
Open/Closed: Open
Release: 2.2.4,2.3.0-beta3
Discussion Lock: Any
Operating System: None
Planned Release: 2.2.5,2.3.0,2.4.0
_______________________________________________________
Details:
In city_from_wonder(), when the server wants to say something like
1: Player Vercingétorix (nb 0) has outdated wonder info for Copernicus'
Observatory (nb 44), it points to city nb 343.
it actually segfaults due to dereferencing 'pcity' when it's guaranteed to be
NULL.
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?17677>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev