1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-19 19:59:09 +00:00
Commit Graph

5 Commits

Author SHA1 Message Date
970b8e3af4 Fix a potential crash when resizing SDL tuples.
_PyTuple_Resize may destroy the original tuple and return a new one through the pointer argument. When it does that and we don?t put the new one back into the map, we end up with a stale pointer to a destroyed object in the map, which is likely to blow up one way or another next time it?s accessed.

Untested because, as far as I can see, this code isn?t actually used currently. All uses of this method deal with fixed-size SDL variables. Resizable variables are not used at all in age SDL, only in non-age SDL (animation, avatar, clothing etc.), and I?m not even sure if those are even accessible using this Python API.
2011-11-27 10:58:25 +01:00
38747f3f1b Don?t modify tuples that others may already have references to.
Fixes egg room private chat channels and entering Teledahn buckets with Python 2.7. These and other uses of ptSDL.setIndex() only worked by chance with Python 2.3 because the tuples happened to have reference counts of 1.
2011-11-27 10:56:49 +01:00
16a6b8a28e Open source re-licensing 2011-10-20 15:20:01 -07:00
a363a783c5 MOULa build 1.902 - dragossh's "Bevin" into "Hood"
and Chogon added ability to select a specific age instance by a meta name
   and BuildMachine bumped buildID
2011-04-19 14:24:55 -07:00
a20a222fc2 Initial Commit of CyanWorlds.com Engine Open Source Client/Plugin 2011-03-12 12:34:52 -05:00