diff options
| author | Marek Chalupa <mchqwerty@gmail.com> | 2016-01-11 11:45:12 +0100 |
|---|---|---|
| committer | Bryce Harrington <bryce@osg.samsung.com> | 2016-01-13 15:11:00 -0800 |
| commit | 1b7191743eeeecedd66af03eeb960c5978fc8335 (patch) | |
| tree | b615e254062795fa41a40e0b15dfac89d166b510 /tests/socket-test.c | |
| parent | client: Add missing arg in a wl_log invocation (diff) | |
| download | wayland-1b7191743eeeecedd66af03eeb960c5978fc8335.tar wayland-1b7191743eeeecedd66af03eeb960c5978fc8335.tar.gz wayland-1b7191743eeeecedd66af03eeb960c5978fc8335.tar.bz2 wayland-1b7191743eeeecedd66af03eeb960c5978fc8335.tar.lz wayland-1b7191743eeeecedd66af03eeb960c5978fc8335.tar.xz wayland-1b7191743eeeecedd66af03eeb960c5978fc8335.tar.zst wayland-1b7191743eeeecedd66af03eeb960c5978fc8335.zip | |
server: don't send an error to NULL display_resource
if display_resource = wl_resource_create() fails in bind_display(),
we call wl_client_post_no_memory() which is wrong, since this function
uses display_resource (which is NULL at this point).
said simply: don't send an error to resource that you've just failed to create)
https://bugs.freedesktop.org/show_bug.cgi?id=91356
Reported-by: Ashim <ashim.shah@samsung.com>
Signed-off-by: Marek Chalupa <mchqwerty@gmail.com>
Reviewed-by: Derek Foreman <derekf@osg.samsung.com>
Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
Diffstat (limited to 'tests/socket-test.c')
0 files changed, 0 insertions, 0 deletions
