OpenTTD-patches/src/3rdparty
Rubidium 5c01f9ea52 Fix #9267, 47a99bb: [Squirrel] Heap use after free
Due to 47a99bb the order of elements in the garbage collection chain has
changed causing the class to be finalised before the instances of that class.
Since the instance's array of member values depends on the size of the values
in the class, the class finalisation resetting that size to 0 causes not all
finalisations to run, which subsequently causes a heap use after free. So,
just set the SQObjectPtrs to 'null' during the finalisation of the SQClass
so the SQInstance can release all instance variables during its finalisation.
2021-05-16 10:07:38 +02:00
..
md5 Add: introduce CMake for project management 2020-06-05 19:36:05 +02:00
opengl Codechange: [Win32] Try to get an OpenGL 3.2+ context if possible. 2021-02-22 22:16:07 +01:00
os2 Add: introduce CMake for project management 2020-06-05 19:36:05 +02:00
squirrel Fix #9267, 47a99bb: [Squirrel] Heap use after free 2021-05-16 10:07:38 +02:00
CMakeLists.txt Add: [Win32] Video driver that uses OpenGL to transfer the video buffer to the screen. 2021-02-22 22:16:07 +01:00
README.licensing (svn r25781) -Doc: Add licensing section to readme.txt. 2013-09-19 07:42:15 +00:00

The files in this directory are not licensed under the same terms as the
rest of OpenTTD. Licensing details can be found in OpenTTD's readme.txt
and in this directory or subdirectories as well.