package/x11r7/xserver_xorg-server: fix segfault on brcm platforms
authorJoseph Kogut <joseph.kogut@gmail.com>
Tue, 22 Sep 2020 00:29:16 +0000 (17:29 -0700)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 22 Sep 2020 19:22:49 +0000 (21:22 +0200)
commit6427ede939ca38199a2fcd253a2a214db8b43972
tree941c8b5cff9785597408acc966055b69aeecd800
parent35fad96c2cbe0244187fea08cc7f4215b6c8559e
package/x11r7/xserver_xorg-server: fix segfault on brcm platforms

According to the original patch message:
    Some Broadcom set-top-box boards have PCI busses, but the GPU is
    still probed through DT.  We would dereference a null busid here
    in that case.

Fixes a segfault on at least the RPi 4 w/ xserver 1.20.9, probably
others as well.

Signed-off-by: Joseph Kogut <joseph.kogut@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/x11r7/xserver_xorg-server/0006-Fix-segfault-on-probing-a-non-PCI-platform-device-on.patch [new file with mode: 0644]