hhctrl: Avoid accessing invalid pointers

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

hhctrl: Avoid accessing invalid pointers

James Hawkins
Hi,

This keeps hhctrl from crashing when some part of EmbedBrowser fails.

Changelog
* Zero the WBInfo struct to get rid of invalid pointers.
* Store object pointers in the WBInfo struct as they're created.

--
James Hawkins



mem-errs.diff (2K) Download Attachment