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

                 Summary: Scripting: Safer stack value handling
                 Project: Freeciv
            Submitted by: englabenny
            Submitted on: lördag 2010-03-27 den 12:10
                Category: general
                Severity: 2 - Minor
                Priority: 5 - Normal
                  Status: Ready For Test
             Assigned to: englabenny
        Originator Email: 
             Open/Closed: Open
                 Release: 2.2
         Discussion Lock: Any
        Operating System: None
         Planned Release: 2.2.1, 2.3.0

    _______________________________________________________

Details:

In some places we take return values but we don't handle them. In callback
invocations, we take only one return value, but clear everything on the
stack..

Here is a "cleanup" patch to be a bit more stringent with the lua stack.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: lördag 2010-03-27 den 12:10  Name:
0003-Scripting-Cleanup-Lua-stack-handling.patch  Size: 2 kB   By: englabenny

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

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Meddelandet skickades via/av Gna!
  http://gna.org/


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

Reply via email to