Skip to content

x11: Don't assume valid type

Dr. David Alan Gilbert requested to merge penguin42/gtk:clipboard-seg2 into main

If we get an invalid TARGETS reply, we might not have a valid 'type', which ends up as NULL and segs in the g_str_equal.

(This is probably fallout from my fix 506566b6, which I still can't reproduce reliably, so the last one just moved the seg a bit further along, and we still don't know who is sending a bad TARGETS).

This corresponds to: https://bugzilla.redhat.com/show_bug.cgi?id=2062143

Merge request reports