Module: wine Branch: master Commit: d9f2120f14727445d6e91719d63e81e3d0e719ce URL: http://source.winehq.org/git/wine.git/?a=commit;h=d9f2120f14727445d6e91719d6...
Author: James Hawkins jhawkins@codeweavers.com Date: Mon Aug 18 22:57:24 2008 -0500
msi: Ignore all non-stream elements when filling the _Streams table.
---
dlls/msi/streams.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/dlls/msi/streams.c b/dlls/msi/streams.c index 318fb41..e3846ad 100644 --- a/dlls/msi/streams.c +++ b/dlls/msi/streams.c @@ -464,6 +464,9 @@ static INT add_streams_to_table(MSISTREAMSVIEW *sv) if (FAILED(hr) || !size) break;
+ if (stat.type != STGTY_STREAM) + continue; + /* table streams are not in the _Streams table */ if (*stat.pwcsName == 0x4840) {