Closed git-bruh closed 3 years ago
Hi @git-bruh, thank you. Added a check
Another one here if drmGetVersion()
fails: https://github.com/danvd/wlroots-eglstreams/blob/b9f5db0e0d4946465a9eb6ecf19f542630ca30ca/backend/drm/drm.c#L1682
Thanks, fixed
@git-bruh, I'm closing this. Please reopen if something else left.
Hi, there is a possible NULL dereference of currentDeviceFile at line 309 of render/egl.c if eglQueryDeviceStringEXT fails. Was trying to figure out why sway kept segfaulting, so i built wlroots with debug symbols, added a null check which allowed it to continue and show an EGL warning that i had wrong perms on /dev/dri/* which helped me fix my issue.�