diff -ru systemd-196.orig/src/libudev/libudev-hwdb.c systemd-196/src/libudev/libudev-hwdb.c --- systemd-196.orig/src/libudev/libudev-hwdb.c 2012-11-20 20:19:20.000000000 -0500 +++ systemd-196/src/libudev/libudev-hwdb.c 2012-12-09 23:47:41.995335675 -0500 @@ -169,8 +169,8 @@ linebuf_rem_char(buf); } - if (node->values_count && fnmatch(linebuf_get(buf), search, 0) == 0) - for (i = 0; i < node->values_count; i++) { + if (le64toh(node->values_count) && fnmatch(linebuf_get(buf), search, 0) == 0) + for (i = 0; i < le64toh(node->values_count); i++) { err = hwdb_add_property(hwdb, trie_string(hwdb, trie_node_values(hwdb, node)[i].key_off), trie_string(hwdb, trie_node_values(hwdb, node)[i].value_off)); if (err < 0)