Fix stack blowout in _w95_dump_dke

by way of Troy Rollo <troy at corvu.com.au> by way of Troy Rollo <troy at corvu.com.au> wine at troy.rollo.name
Thu Jul 29 18:28:53 CDT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

_w95_dump_dke uses recursion to process sibling keys, thereby leading to 
exhaustion of the stack in registry keys with large numbers of children (such 
as Software\CLASSES). Discussed on wine-devel with nobody offering a reason 
why the keys need to be processed in the order suggested by the recursion.

This patch causes sibling keys to be processed iteratively, thereby preventing 
exhaustion of the stack.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBCYg12IoBoXB5Q0kRAlStAJsH9mX/0ZkL3baei1dg20AZBOmzkQCeJ0TM
rFvuqQrAKE8RxTwqq+6uaD8=
=xRbO
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stack-blowout.diffs
Type: text/x-diff
Size: 1717 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20040730/618418f5/stack-blowout.bin


More information about the wine-patches mailing list