weston-launch: Fix failure to exec weston due to initalized argv values
authorAnder Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Wed, 22 May 2013 19:55:33 +0000 (22:55 +0300)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 22 May 2013 20:39:36 +0000 (16:39 -0400)
commit9bdfc48f09e0bfd5e59e0e27790282aa9be4f46d
tree4fefe765fd59f5f57a8ae9ee906ec6dde1703fc0
parentd9a7bb75d023f69718223470ad122c9672e0bad2
weston-launch: Fix failure to exec weston due to initalized argv values

The array of arguments supplied to execv must be NULL terminated. If
unitialized values are used as pointers the exec call may fail with a
EFAULT error ("Bad address").

https://bugs.freedesktop.org/show_bug.cgi?id=64874
src/weston-launch.c