lkml.org 
[lkml]   [2012]   [Apr]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH 09/11] parse-filter: Check result of malloc() during reading token
    Date
    Hi,

    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.

    Thanks,
    Namhyung


    \
     
     \ /
      Last update: 2012-04-24 02:19    [W:4.028 / U:0.072 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site