lkml.org 
[lkml]   [2013]   [Oct]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH] xfs: fix possible NULL dereference
    From
    2013/10/31 Ben Myers <bpm@sgi.com>:
    > Hey Geyslan,
    >
    > On Wed, Oct 30, 2013 at 03:08:12PM -0500, Eric Sandeen wrote:
    >> On 10/23/13 3:34 PM, Ben Myers wrote:
    >>
    >> > xfs: fix possible NULL dereference in xlog_verify_iclog
    >> >
    >> > In xlog_verify_iclog a debug check of the incore log buffers prints an
    >> > error if icptr is null and then goes on to dereference the pointer
    >> > regardless. Convert this to an assert so that the intention is clear.
    >> > This was reported by Coverty.
    >> >
    >> > Reported-by: Geyslan G. Bem <geyslan@gmail.com>
    >> > Signed-off-by: Ben Myers <bpm@sgi.com>
    >>
    >> Reviewed-by: Eric Sandeen <sandeen@redhat.com>
    >
    > Applied this. Many thanks! ;)
    >
    > -Ben

    It was a pleasure. o/

    --
    Regards,

    Geyslan G. Bem
    hackingbits.com


    \
     
     \ /
      Last update: 2013-10-31 18:01    [W:4.390 / U:0.204 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site