OSDN Git Service

route: Fix invalid pointer access
authorTakashi Iwai <tiwai@suse.de>
Wed, 19 Mar 2014 09:52:24 +0000 (10:52 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 19 Mar 2014 09:52:24 +0000 (10:52 +0100)
commitdbe6d7f86902dbbe2ff276b7a6524c084893772f
tree293f27a9a9e67c0f15e7cb6fd4cdc83d4f8a5194
parentd794af65e97822a29945a21c1cd2a21ea3b8e6b8
route: Fix invalid pointer access

An uninitialized chmap pointer value is assigned in
_snd_pcm_route_open().  Add NULL initializations appropriately, and
also avoid the possible invalid access of NULL pcmp pointer.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
src/pcm/pcm_route.c