URL:
<http://gna.org/patch/?1611>
Summary: Scripting: Hide Lua module 'debug'
Project: Freeciv
Submitted by: englabenny
Submitted on: lördag 2010-04-10 den 22:47
Category: None
Priority: 5 - Normal
Status: Ready For Test
Privacy: Public
Assigned to: englabenny
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Planned Release: 2.3.0
_______________________________________________________
Details:
We load the debug library, but do not make it available in the
Lua API. The debug module allows access to (among other things) the
registry, and upvalues (local variables of closures).
This is step one of very many, where we try to disallow "wild pointer access"
in Lua.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: lördag 2010-04-10 den 22:47 Name:
2010041101-Scripting-Hide-Lua-module-debug.patch Size: 3 kB By: englabenny
<http://gna.org/patch/download.php?file_id=8900>
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?1611>
_______________________________________________
Meddelandet skickades via/av Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev