Skip to content

nvk: Fix segfault when opening DRI device file returns error

Previously, ver was unitialized on this path, causing UB on the if (ver) branch after the out_err label. I only hit this by doing cursed nonsense, and doubt that the crash is very common.

Merge request reports

Loading