lkml.org 
[lkml]   [2009]   [Apr]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [tip:tracing/blktrace-v2] blktrace: fix a bug in blk_msg_write()

* Li Zefan <lizf@cn.fujitsu.com> wrote:

> Hi Ingo,
>
> Though Carl <chlunde@ping.uio.no>'s patch has been applied,
> (a4b3ada83d06554d307dd54abdc62b2e5648264a), this patch hasn't
> been dropped, thus the code in -tip looks like:
>
> static ssize_t blk_msg_write(...)
> {
> ...
> if (copy_from_user(msg, buffer, count)) {
> kfree(msg);
> return -EFAULT;
> }
> msg[count] = '\0'; <---
>
> msg[count] = '\0'; <---
> ...
> }

indeed - that's a (harmless) merge artifact in tip/master, it has
not propagated into the tracing topics and will go away on the next
reintegration.

Thanks for letting me know, i'll keep an eye on it.

Ingo


\
 
 \ /
  Last update: 2009-04-08 11:07    [W:3.104 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site