audiod: Check pointers passed to btr_get_node_start().
authorAndre Noll <maan@systemlinux.org>
Sat, 7 Apr 2012 22:25:42 +0000 (00:25 +0200)
committerAndre Noll <maan@systemlinux.org>
Sat, 19 May 2012 09:48:43 +0000 (11:48 +0200)
commit8f5de4b6e1c1299b0d8cf894474cad049f6b0958
treeb0c46c48e75bac346696bac0b1ec7d38c2106822
parent52071c963c318f979fd1ba37ba4dc4523c65d428
audiod: Check pointers passed to btr_get_node_start().

If the receiver or writer buffer tree node pointer is NULL, we'll segfault due
to a a NULL pointer dereference in btr_get_node_start(). Although this might
not be triggerable, it does not hurt to be defensive here.
audiod.c