[#] http://marc.info/?l=openbsd-cvs&m=140734443525024&w=2
openbsd-cvs(obsdave,2) — All
2014-08-06 21:55:07


Module name: xenocara
Changes by: jsg@cvs.openbsd.org 2014/08/06 11:00:09

Modified files:
lib/libpciaccess/src: openbsd_pci.c

Log message:
calloc the pci_sys struct before probing for PCI.
As the functions check if the member pointers are NULL but not the
pointer to the struct itself.

Reworked version of a diff from ratchov@ who created it to prevent a
xserver crash on zaurus where there is no PCI.

'looks ok' matthieu@, ok deraadt@