Fix WML variable leak in RECRUIT_UNIT_VARIATIONS

This commit is contained in:
Ignacio R. Morelle 2015-08-09 01:51:02 -03:00
parent 759411a129
commit 6464c6e1b8
2 changed files with 4 additions and 0 deletions

View file

@ -18,6 +18,8 @@ Version 1.12.4+dev:
* Fixed strict compilation with clang 3.5 and 3.6.
* Fixed unbound memory read in internal time formatting code with
specially-crafted input.
* Fixed RECRUIT_UNIT_VARIATIONS core WML macro leaking an internal temporary
variable ($recruited_unit_random_variation).
Version 1.12.4:
* Security fixes:

View file

@ -480,6 +480,8 @@
[/object]
[/then]
[/if]
{CLEAR_VARIABLE recruited_unit_random_variation}
[/event]
#enddef