https://bugs.freedesktop.org/show_bug.cgi?id=61385

          Priority: medium
            Bug ID: 61385
          Assignee: [email protected]
           Summary: wayland-client.c:dispatch_event() dereferences proxy
                    after free
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: [email protected]
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: wayland
           Product: Wayland

Created attachment 75438
  --> https://bugs.freedesktop.org/attachment.cgi?id=75438&action=edit
clang-analyzer output

In dispatch_event(), we call free(proxy) but if proxy_destroyed is false then
the function does not return but continues further by accessing
proxy->object.implementation.

Caught this by running clang-analyzer on wayland. See attachment.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Wayland-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-bugs

Reply via email to