DisplayLink / evdi

Extensible Virtual Display Interface
MIT License
705 stars 184 forks source link

Fix crashes with dmabufs not from external kernel modules #363

Closed refi64 closed 2 years ago

refi64 commented 2 years ago

In particular, when software rendering, it is entirely possible to have a dmabuf that did not come from an externally loaded kernel module. As a result, the owner field is NULL, and checking the owner's name segfaults.

Tested on the Asahi Linux kernel, where software rendering is used.

displaylink-emajewsk commented 2 years ago

Looks good, thanks!