K 10 svn:author V 6 marius K 8 svn:date V 27 2007-12-20T00:31:04.000000Z K 7 svn:log V 234 In openprom_ioctl() ensure appropriate permissions and that data isn't NULL and doesn't point to a NULL pointer before dereferencing it. This fixes a panic triggered by Xorg 7.3. Reported and tested by: Bill Green MFC after: 3 days END