Author: cazfi
Date: Wed Dec 23 22:15:14 2015
New Revision: 31169

URL: http://svn.gna.org/viewcvs/freeciv?rev=31169&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_6/client/packhand.c

Modified: branches/S2_6/client/packhand.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/client/packhand.c?rev=31169&r1=31168&r2=31169&view=diff
==============================================================================
--- branches/S2_6/client/packhand.c     (original)
+++ branches/S2_6/client/packhand.c     Wed Dec 23 22:15:14 2015
@@ -1382,6 +1382,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