ole32: Use a temporary variable in TransactedSnapshotImpl_EnsureReadEntry.
commit57ddceea340da5512a64245792434f760989cb06
authorVincent Povirk <vincent@codeweavers.com>
Wed, 12 May 2010 19:08:55 +0000 (12 14:08 -0500)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 13 May 2010 09:51:07 +0000 (13 11:51 +0200)
treed913a0361ac8cb2cca9b0626f989008042d303e6
parentf10af18f2816cf5cda788d85c41ba4862181db26
ole32: Use a temporary variable in TransactedSnapshotImpl_EnsureReadEntry.

CreateStubEntry can change the value of This->entries, in which case the
assignment can go to the wrong place. So instead, assign to a temporary
variable, and copy the data back after all CreateStubEntry calls are finished.
dlls/ole32/storage32.c