diff options
author | Evgeny Vereshchagin <evvers@ya.ru> | 2018-03-27 19:30:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-27 19:30:02 +0200 |
commit | 1700f4f42c569adb7c15bb403f840263c9a5a88d (patch) | |
tree | 70995ae7c06e25c923a6e13765e78dd5324b7b50 /src/hwdb | |
parent | core: use setreuid/setregid trick to create session keyring with right owners... (diff) | |
parent | README: mention systemd-stable (diff) | |
download | systemd-1700f4f42c569adb7c15bb403f840263c9a5a88d.tar.xz systemd-1700f4f42c569adb7c15bb403f840263c9a5a88d.zip |
Merge pull request #8576 from keszybz/oss-fuzz
oss-fuzz adjustments and other cleanups
Diffstat (limited to 'src/hwdb')
-rw-r--r-- | src/hwdb/hwdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hwdb/hwdb.c b/src/hwdb/hwdb.c index a60809ca65..958ccd4ca8 100644 --- a/src/hwdb/hwdb.c +++ b/src/hwdb/hwdb.c @@ -123,7 +123,7 @@ static struct trie_node *node_lookup(const struct trie_node *node, uint8_t c) { struct trie_child_entry search; search.c = c; - child = bsearch(&search, node->children, node->children_count, sizeof(struct trie_child_entry), trie_children_cmp); + child = bsearch_safe(&search, node->children, node->children_count, sizeof(struct trie_child_entry), trie_children_cmp); if (child) return child->child; return NULL; |