ole32: prevent recursion when CLSIDFromString is passed empty string

Andrey Turkin andrey.turkin at gmail.com
Mon Jan 19 09:11:22 CST 2009

As pointed out by AF, there is really neat recursion when
CLSIDFromString tries to parse empty string - it calls CLSIDFromProgID
which reads HKCR\CLASSES\@ (which is empty) and calls CLSIDFromString
again to parse it. This patch fixes this and thus should fix bug 16999

 dlls/ole32/compobj.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: f8397310810b81c0507c210ece5c2ad0b2fe9d02.diff
Type: text/x-patch
Size: 397 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20090119/0d7ee7fb/attachment.bin 

More information about the wine-patches mailing list