lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<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

Powered by Openwall GNU/*/Linux Powered by OpenVZ