chiark / gitweb /
gudev: fix crash if netlink is not available
authorMartin Pitt <martin.pitt@ubuntu.com>
Fri, 27 Aug 2010 16:12:59 +0000 (18:12 +0200)
committerMartin Pitt <martin.pitt@ubuntu.com>
Fri, 27 Aug 2010 16:12:59 +0000 (18:12 +0200)
commite4dcdc4ab232bcbbe61a2026c16e647d9302cdd2
tree341f54122649a950ac7cb09c46fb80b483064ff9
parent83184d008ba23724fd30996440534c0633a0d0aa
gudev: fix crash if netlink is not available

gudev_client_new() assumes that priv->monitor is never NULL, but this happens
on older kernels. Let's not crash client programs because of that.

https://launchpad.net/bugs/581527
extras/gudev/gudevclient.c