Author: cazfi
Date: Wed Dec 23 22:15:20 2015
New Revision: 31170

URL: http://svn.gna.org/viewcvs/freeciv?rev=31170&view=rev
Log:
Fix illegal memory read when client has previously accepted page messages but 
should now ignore them.

See bug #24220

Modified:
    branches/S2_5/client/packhand.c

Modified: branches/S2_5/client/packhand.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_5/client/packhand.c?rev=31170&r1=31169&r2=31170&view=diff
==============================================================================
--- branches/S2_5/client/packhand.c     (original)
+++ branches/S2_5/client/packhand.c     Wed Dec 23 22:15:20 2015
@@ -1339,6 +1339,7 @@
       free(page_msg_report.caption);
       free(page_msg_report.headline);
       free(page_msg_report.lines);
+      page_msg_report.lines = NULL;
     }
   }
 }


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to