[Cbe-oss-dev] [PATCH 8/9 v2]MARS: Task get name return null

Kazunori Asayama asayama at sm.sony.co.jp
Tue Oct 21 13:27:30 EST 2008


Yuji Mano wrote:
> This fixes mars_task_get_name function so that if user specified NULL during
> task creation, NULL will be returned rather than a pointer to an uninitialized
> string array.
> 
> Signed-off-by: Yuji Mano <yuji.mano at am.sony.com>

Acked-by: Kazunori Asayama <asayama at sm.sony.co.jp>

> 
> ---
> v2:
>  - remove unecessary check for strlen of name param
> 
>  src/host/lib/task.c |    2 ++
>  src/mpu/lib/task.c  |    4 +++-
>  2 files changed, 5 insertions(+), 1 deletion(-)
> 

-- 
(ASAYAMA Kazunori
  (asayama at sm.sony.co.jp))
t



More information about the cbe-oss-dev mailing list