Overview: --------- Dereference a pointer after null check Description: ----------- File: http://cgit.freedesktop.org/wayland/wayland/tree/src/wayland-server.c Line: 783 client->display_resource is NULL and client is passed as argument as below wl_client_post_no_memory(client); Line: 515 client->display_resource (NULL) is passed as argument wl_resource_post_error(client->display_resource, WL_DISPLAY_ERROR_NO_MEMORY, "no memory"); Line: 210 struct wl_client *client = resource->client; resource is NULL so dereferencing a NULL pointer. Expected: -------- NULL checking required before dereferencing
The patch for this Bug was submitted. and the link for the patch is as follows: http://lists.freedesktop.org/archives/wayland-devel/2015-July/023723.html
Closing this bug, since the patch was discussed on the list.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.