Follow-up Comment #8, bug #21768 (project wesnoth):
I looked at this again, and I don't think there is actually a security risk
here in the sense of buffer overflow / illegal memory access, due to the
interaction of lua with units. The lua "userdata" construct is meant to
abstract C types from lua and permit only legal operations.
Based on the backtrace I'm actually somewhat doubtful now that the error is
caused by a problem with pointers to units, but rather with the unit
animations. This was overhauled in 1.13 and segfaults due to the connection
between units and their animation shouldn't happen anymore. Can you test again
in that version?
---
For the other reasons, I still think a "read-only" lua mode would be nice if
possible.
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?21768>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs