Fix WML variable leak in RECRUIT_UNIT_VARIATIONS
This commit is contained in:
parent
759411a129
commit
6464c6e1b8
2 changed files with 4 additions and 0 deletions
|
@ -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:
|
||||
|
|
|
@ -480,6 +480,8 @@
|
|||
[/object]
|
||||
[/then]
|
||||
[/if]
|
||||
|
||||
{CLEAR_VARIABLE recruited_unit_random_variation}
|
||||
[/event]
|
||||
#enddef
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue