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-----
_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)
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
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