In check_notify() add a safety check to MUIV_Notify_Window
commitd7374493096861961737d837d2f2f356f25f4587
authorstegerg <stegerg@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Sun, 4 Jun 2006 17:03:16 +0000 (4 17:03 +0000)
committerstegerg <stegerg@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Sun, 4 Jun 2006 17:03:16 +0000 (4 17:03 +0000)
tree3863ff95be60c4c9ba8dafafc9e295e04eec330a
parent0c72bbc87db821dcc5f174c98258ddd7dd2183c2
In check_notify() add a safety check to MUIV_Notify_Window
handling which would cause NULL access if muiRenderInfo(obj)
== NULL. Also 0-terminate the newparams array in this function.
In Notify_DisconnectParent() to not NULL muiGlobalInfo(obj) as
some apps seem to fail if this happens (YAM).

git-svn-id: https://svn.aros.org:8080/svn/aros/trunk/AROS@24505 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
workbench/libs/muimaster/classes/notify.c