xserver/hw/xfree86/os-support/linux
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
..
int10 xfree86: Remove xf86InterceptSignals 2017-12-13 11:11:38 -05:00
Makefile.am agp: Make the legacy AGP interface optional 2019-01-16 19:50:15 +00:00
linux.h linux: Add a may_fail paramter to linux_parse_vt_settings 2015-06-03 11:31:41 +02:00
lnx_acpi.c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
lnx_agp.c hw/xfree86/os-support/linux/lnx_agp.c xf86GetAGPInfo(): free(info) in an error path, caught by cppcheck. 2019-05-01 15:22:02 -07:00
lnx_apm.c hw/xfree86: Support ACPI without APM. 2020-04-30 18:45:35 +00:00
lnx_bell.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
lnx_ev56.c xfree86: Remove MMIO_ONB* and friends 2014-07-28 12:19:01 -07:00
lnx_init.c Fix old-style definition warning for xf86OSInputThreadInit() 2019-04-17 13:57:20 +01:00
lnx_kmod.c Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
lnx_platform.c xfree86: Fix potentially NULL reference to platform device's PCI device 2021-06-23 14:29:10 +03:00
lnx_video.c Fixed ioperm calls in hwEnableIO 2019-05-12 19:50:06 +00:00
systemd-logind.c Revert "systemd-logind: Monitor systemd-logind going away" 2019-03-21 00:09:22 +01:00