xf86drm: Handle NULL in drmCopyVersion
Just as it is already handled in the caller, `drmGetVersion`.
I'm not sure what the offending driver is, but the Ubuntu incidents
seem to be coming from a dual Intel/Nvidia machine. And they show
it is `card1` so I'm guessing `nvidia-drm` is the offender.
Bug-Ubuntu: https://bugs.launchpad.net/bugs/
2104352
Gbp-Pq: Name xf86drm-Handle-NULL-in-drmCopyVersion.patch
libdrm (2.4.124-2) unstable; urgency=medium
[ Daniel van Vugt ]
* Add xf86drm-Handle-NULL-in-drmCopyVersion.patch (LP: #
2104352)
[ Bo YU ]
* Enable building libdrm-intel1 for riscv64 (Closes: #
1085314)
[dgit import unpatched libdrm 2.4.124-2]