[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20120917145923.132334c9@pyramind.ukuu.org.uk>
Date: Mon, 17 Sep 2012 14:59:23 +0100
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: Alan Cox <alan@...rguk.ukuu.org.uk>
Cc: akpm@...ux-foundation.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] proc: fix unterminated string
On Mon, 17 Sep 2012 11:49:30 +0100
Alan Cox <alan@...rguk.ukuu.org.uk> wrote:
> From: Alan Cox <alan@...ux.intel.com>
>
> oom_score_adj_write doesn't terminate the string as it should. Also fix
> sched_autogroup_write and other copy/pastes of the bug.
>
> Signed-off-by: Alan Cox <alan@...ux.intel.com>
> Cc: Horses <stable@...r.kernel.org>
Ok ignore this one - its in fact safe having poked at it further - the
memset ensures the buffer is terminated. Ugly but the existing code works
fine 8)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists