xserver-multidpi/hw/xfree86/os-support
Povilas Kanapickas 0d93bbfa2c xfree86: Fix potentially NULL reference to platform device's PCI device
xf86_platform_devices[i].pdev may be NULL in cases we fail to parse the
busid in config_udev_odev_setup_attribs() (see also [1], [2]) such as
when udev does not give use ID_PATH. This in turn leads to
platform_find_pci_info() being not called and pdev being NULL.

[1]: https://gitlab.freedesktop.org/xorg/xserver/-/issues/993
[2]: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1076

Reviewed-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
2021-06-23 14:29:10 +03:00
..
bsd compiler.h: don't define inb/outb and friends on mips 2021-01-27 19:29:35 +00:00
bus xfree86: Move DRICreatePCIBusID to xf86Pci.h 2017-06-22 10:53:08 -04:00
hurd Fix old-style definition warning for xf86OSInputThreadInit() 2019-04-17 13:57:20 +01:00
linux xfree86: Fix potentially NULL reference to platform device's PCI device 2021-06-23 14:29:10 +03:00
misc Replace all checks for 'linux' macro with '__linux__' 2017-05-11 15:24:05 -04:00
shared Remove check for useSIGIO option 2020-12-08 11:23:31 -05:00
solaris Fix spelling/wording issues 2020-07-05 13:07:33 -07:00
stub Fix old-style definition warning for xf86OSInputThreadInit() 2019-04-17 13:57:20 +01:00
Makefile.am xfree86: Add stubs for os-support to help adding new architecture support 2011-10-15 21:18:47 -07:00
int10Defines.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
meson.build Remove BSD APM support. 2020-06-03 17:33:10 +02:00
xf86OSpriv.h xfree86: Remove xf86LinearVidMem 2014-09-16 11:58:53 -04:00
xf86_OSlib.h os, xfree86: Stop being so weird about <limits.h> 2017-05-12 09:49:07 -04:00
xf86_OSproc.h Fix spelling/wording issues 2020-07-05 13:07:33 -07:00