lkml.org 
[lkml]   [2012]   [Sep]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 2/2] xattr: prevent NULL ptr deref warnings in __simple_xattr_set
    On Fri, Sep 14, 2012 at 09:35:54PM +0200, Sasha Levin wrote:
    > Prevent warnings generated by smatch due to unchecked dereference of
    > 'new_xattr' in __simple_xattr_set().

    Isn't this an actual bug w/ or w/o smatch? Remove request (NULL
    @value) w/o XATTR_REPLACE for an non-existent node would end up
    calling list_add() on NULL, right? If so, please collapse these two
    patches and mention the actual bug instead of smatch warning.

    Thanks.

    --
    tejun


    \
     
     \ /
      Last update: 2012-09-14 23:41    [W:4.857 / U:0.012 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site