Fix memory corruption in ecore_xcb_window.c::ecore_x_window_children_get
authordottedmag <dottedmag@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 22 Sep 2009 18:18:28 +0000 (18:18 +0000)
committerdottedmag <dottedmag@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 22 Sep 2009 18:18:28 +0000 (18:18 +0000)
commitf63f111e70d7c3c143b2bcbbcf0089b9370ca488
tree9e9190586a0133c6eee4cabc20272804efad353b
parentd1115390df8464dbc9652590f3d43c40bcb5d741
Fix memory corruption in ecore_xcb_window.c::ecore_x_window_children_get

Function allocated reply->children_len bytes, and then copied
sizeof(Ecore_X_Window) * reply->childen_len bytes into the buffer, leading
to memory corruption.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@42624 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
src/lib/ecore_x/xcb/ecore_xcb_window.c