Re: [PATCH 09/11] parse-filter: Check result of malloc() during reading token

From: Namhyung Kim
Date: Mon Apr 23 2012 - 20:16:43 EST


On Mon, 23 Apr 2012 14:48:37 -0400, Steven Rostedt wrote:
> On Mon, 2012-04-23 at 13:58 +0900, Namhyung Kim wrote:
>> The malloc can fail so the return value should be checked.
>> For now, just use malloc_or_die().
> Applied, thanks!
> Although we will be getting rid of the 'die' feature. But at least this
> marks a location that we need to track.

Right. The point of this patch was that too. My next step will be the
removal of 'die' at all.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at