lkml.org 
[lkml]   [2006]   [Jul]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Null dereference errors in the kernel
    On Mon, Jul 17, 2006 at 08:49:19PM -0700, Thomas Dillig wrote:

    > 144 drivers/char/agp/ati-agp.c
    > NULL dereference of variable "ati_generic_private.gatt_pages" in
    > function call (drivers/char/agp/ati-agp.c:ati_free_gatt_pages).

    I think this is a false positive.
    It's a freeing function, the other half of ati_create_gatt_pages,
    which always gets called beforehand, and if that fails, we should
    never get to ati_free_gatt_pages.

    Dave

    --
    http://www.codemonkey.org.uk
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2006-07-18 18:43    [W:0.032 / U:37.208 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site