OSDN Git Service

tools/bluetooth-player: check path validity
authorSebastian Chlad <sebastianx.chlad@intel.com>
Fri, 10 Jan 2014 16:31:01 +0000 (18:31 +0200)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 13 Jan 2014 10:12:59 +0000 (12:12 +0200)
commit1d7c6a807d1d81e43110bae466f8e34cbffb088c
tree51287b5f686895a659044dbdf50cb001c486a2f8
parent28429dcd1eef25e445ea9d9d67dbf171808a9ce1
tools/bluetooth-player: check path validity

Bluetooth-player change-folder cmd approves any argument however it
can be and then should a valid path only. Failing in providing
a valid path crashes bluetooth-player thus argument should be
checked if it's a valid path.
tools/bluetooth-player.c