Re: [PATCH weston 4/5] ivi-shell: harden get_ivi_shell_surface()

2016-03-24 Thread Pekka Paalanen
On Thu, 24 Mar 2016 11:30:52 +0100 Eugen Friedrich wrote: > 2016-03-22 15:48 GMT+01:00 Pekka Paalanen : > > From: Pekka Paalanen > > > > Add more sanity checks to get_ivi_shell_surface() just in case. > > > > If the

Re: [PATCH weston 4/5] ivi-shell: harden get_ivi_shell_surface()

2016-03-24 Thread Eugen Friedrich
2016-03-22 15:48 GMT+01:00 Pekka Paalanen : > From: Pekka Paalanen > > Add more sanity checks to get_ivi_shell_surface() just in case. > > If the configure hook is set, we must always have non-NULL > configure_private. > > Check the

[PATCH weston 4/5] ivi-shell: harden get_ivi_shell_surface()

2016-03-22 Thread Pekka Paalanen
From: Pekka Paalanen Add more sanity checks to get_ivi_shell_surface() just in case. If the configure hook is set, we must always have non-NULL configure_private. Check the ivi_shell_surface matches the surface. Signed-off-by: Pekka Paalanen