Re: [tip:perf/urgent] ftrace: Fix strncpy() use, use strlcpy() instead of strncpy()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2013年04月08日 23:31, tip-bot for Chen Gang wrote:
> Commit-ID:  75761cc15877c155b3849b4e0e0cb3f897faf471
> Gitweb:     http://git.kernel.org/tip/75761cc15877c155b3849b4e0e0cb3f897faf471
> Author:     Chen Gang <gang.chen@xxxxxxxxxxx>
> AuthorDate: Mon, 8 Apr 2013 12:12:39 +0800
> Committer:  Ingo Molnar <mingo@xxxxxxxxxx>
> CommitDate: Mon, 8 Apr 2013 13:26:56 +0200
> 
> ftrace: Fix strncpy() use, use strlcpy() instead of strncpy()
> 
> For NUL terminated string we always need to set '\0' at the end.
> 
> Signed-off-by: Chen Gang <gang.chen@xxxxxxxxxxx>
> Cc: rostedt@xxxxxxxxxxx
> Cc: Frederic Weisbecker <fweisbec@xxxxxxxxx>
> Link: http://lkml.kernel.org/r/516243B7.9020405@xxxxxxxxxxx
> Signed-off-by: Ingo Molnar <mingo@xxxxxxxxxx>
> ---


  thank you very much for applying the 3 related patches.



-- 
Chen Gang

Asianux Corporation
--
To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Stable Commits]     [Linux Stable Kernel]     [Linux Kernel]     [Linux USB Devel]     [Linux Video &Media]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux