ldlinux: Dynamically allocate cmdline buffer to avoid overflow
commitb1d6dbbb4cf1784ebb8dff0d772b6bc2cb5c89e3
authorMatt Fleming <matt.fleming@intel.com>
Thu, 24 Jan 2013 11:52:32 +0000 (24 11:52 +0000)
committerMatt Fleming <matt.fleming@intel.com>
Thu, 24 Jan 2013 17:22:45 +0000 (24 17:22 +0000)
treeb7f3316954758fabfd2f861e16ee83408319c4be
parent6911cf7e57a870f887042ccb4c580165d868d25c
ldlinux: Dynamically allocate cmdline buffer to avoid overflow

Also, because we no longer pass the allocated buffer to __intcall()
and friends we can use malloc() instead of lmalloc(), leaving precious
low memory for other users.

Signed-off-by: Matt Fleming <matt.fleming@intel.com>
com32/elflink/ldlinux/execute.c