[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20080413161812.GA21575@martell.zuzino.mipt.ru>
Date: Sun, 13 Apr 2008 20:18:12 +0400
From: Alexey Dobriyan <adobriyan@...il.com>
To: akpm@...ux-foundation.org
Cc: linux-kernel@...r.kernel.org
Subject: static char *buf; (was Re: +
v4l-fix-concurrent-read-from-proc-videocodecs.patch added to -mm
tree)
> -static char *videocodec_buf = NULL;
> -static int videocodec_bufsize;
> - kfree(videocodec_buf);
> - videocodec_buf = kmalloc(size, GFP_KERNEL);
Speaking of this failure mode... cfi_staa_writev() does the same trick
allocating and freeing global pointer to data.
Is this a bug too?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists