diff options
author | Felipe Contreras <felipe.contreras@gmail.com> | 2012-11-19 11:03:52 +0100 |
---|---|---|
committer | Richard Yao <ryao@cs.stonybrook.edu> | 2012-11-20 17:18:01 -0500 |
commit | f74b77335b994d5dcecbc0d5d0d4bbfc8364c1b5 (patch) | |
tree | ce870083998f78c8a10935d07f2736eca738391a /src/test/test-libudev.c | |
parent | bcc69ef934c9d14732e16551032242fa599b44e7 (diff) |
Fix NULL pointer deference in udev_hwdb_get_properties_list_entry
It is possible for udev_hwdb_get_properties_list_entry to be invoked
during udevd initialization before hwdb has been initialized. We
workaround that for now by introducing a check to handle that.
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Commit-message-by: Richard Yao <ryao@gentoo.org>
Diffstat (limited to 'src/test/test-libudev.c')
0 files changed, 0 insertions, 0 deletions