launch: Ensure g->cmdline is allocated before assigning g->cmdline[0].
authorRichard W.M. Jones <rjones@redhat.com>
Wed, 19 Oct 2011 14:20:19 +0000 (15:20 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Wed, 19 Oct 2011 17:34:13 +0000 (18:34 +0100)
commita8245283df4864ca1cc68127240b2f652aff972d
treed10bde916bbd081c3b46868861ffa8dbfa4f62b4
parent005eff3940efc1bee4250ad8af1c2231ab9d99f9
launch: Ensure g->cmdline is allocated before assigning g->cmdline[0].
(cherry picked from commit 138e118d62046b197b715462072256082ecfc0f7)
src/launch.c