Re: [CHECKER] free bugs in 2.4.4 and 2.4.4-ac8

From: Jeff Hartmann (jhartmann@valinux.com)
Date: Fri May 25 2001 - 10:21:53 EST


Alan Cox wrote:

>
>> return;
>> /u2/engler/mc/oses/linux/2.4.4-ac8/drivers/char/drm/gamma_dma.c:573:gamma_dma_send_buffers: ERROR:FREE:561:573: WARN: Use-after-free of "last_buf"! set by 'drm_free_buffer':561
>> DRM_DEBUG("%d running\n", current->pid);
>
>
> Left for the XFree folk
>

This is a false positive, drm_free_buffer doesn't free any memory
associated with a buffer. This code construct is fine.

-Jeff

-
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/



This archive was generated by hypermail 2b29 : Thu May 31 2001 - 21:00:23 EST