canonical / wlcs

Wayland Conformance Test Suite
GNU General Public License v2.0
50 stars 14 forks source link

Fix BadBufferTest.test_truncated_shm_file #253

Closed RAOF closed 1 year ago

RAOF commented 1 year ago

The protocol error should be generated on the wl_shm_pool, as that's the object that has been asked for an invalid operation.

Additionally, fix the assumption that wl_display_get_protocol_error will fill in the interface parameter. In the case where the server sends an error on an object the client has already deleted, the interface parameter will be set to null.

bors[bot] commented 1 year ago

Build succeeded: