URL:
  <http://gna.org/bugs/?20678>

                 Summary: Unit pointer used after it might died in
unit_move_consequences() 
                 Project: Freeciv
            Submitted by: cazfi
            Submitted on: Fri 29 Mar 2013 11:42:14 AM EET
                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.4.0, 2.5.0

    _______________________________________________________

Details:

Unit pointer is being used after unit_move_consequences() call where it can,
at least in theory, die. Death would require some unusual lua scripting. This
is reggresion since 2.3.

Fix attached







    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Fri 29 Mar 2013 11:42:14 AM EET  Name: MoveDeath.patch  Size: 9kB   By:
cazfi

<http://gna.org/bugs/download.php?file_id=17588>
-------------------------------------------------------
Date: Fri 29 Mar 2013 11:42:14 AM EET  Name: MoveDeath-S2_4.patch  Size: 9kB  
By: cazfi

<http://gna.org/bugs/download.php?file_id=17589>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?20678>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


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

Reply via email to