audiod get_play_time_slot_num(): Avoid possible NULL pointer dereference.
authorAndre Noll <maan@systemlinux.org>
Thu, 3 Feb 2011 16:12:53 +0000 (17:12 +0100)
committerAndre Noll <maan@systemlinux.org>
Thu, 7 Jul 2011 15:28:38 +0000 (17:28 +0200)
commitde2a0b8fa6c9f7dbee01ef989c4ca1f450a7af8b
tree48d3fff1caec23bb3403e5920b65113478b2927d
parenteb9722e8763a9b2a2ae99d98a9715bd932081c3c
audiod get_play_time_slot_num(): Avoid possible NULL pointer dereference.

The pointer to the buffer tree node is dereferenced unconditionally
in btr_get_node_start(). This patch makes sure we never pass a NULL
pointer to this function.
audiod_command.c