msi: Simplify ITERATE_WriteEnvironmentString.
commit1b7238a96983659c23eb5b35322d1427fedd6796
authorJames Hawkins <truiken@gmail.com>
Wed, 16 Dec 2009 02:19:19 +0000 (15 18:19 -0800)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 16 Dec 2009 11:27:11 +0000 (16 12:27 +0100)
tree1bb455596af893327e8f10fb714cc0d177a0bc2f
parentbe1b1605f9421c363ea98fc0f8c6f9c9cece91e9
msi: Simplify ITERATE_WriteEnvironmentString.

Now we only allocate enough memory to exactly match the size of the
constructed string. Before, we were leaving some memory uninitialized
and overwriting the allocated memory in certain circum.
dlls/msi/action.c