Skip to content

Commit

Permalink
Fix WML variable leak in RECRUIT_UNIT_VARIATIONS
Browse files Browse the repository at this point in the history
  • Loading branch information
irydacea committed Aug 9, 2015
1 parent 759411a commit 6464c6e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions changelog
Expand Up @@ -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:
Expand Down
2 changes: 2 additions & 0 deletions data/core/macros/utils.cfg
Expand Up @@ -480,6 +480,8 @@
[/object]
[/then]
[/if]

{CLEAR_VARIABLE recruited_unit_random_variation}
[/event]
#enddef

Expand Down

0 comments on commit 6464c6e

Please sign in to comment.