Revision 1d6a821277aaa0cdd666278aaff93298df313d41 authored by Marc Zyngier on 15 February 2016, 17:04:04 UTC, committed by Marc Zyngier on 24 February 2016, 11:53:09 UTC
On an MMIO access, we always copy the on-stack buffer info
the shared "run" structure, even if this is a read access.
This ends up leaking up to 8 bytes of uninitialized memory
into userspace, depending on the size of the access.

An obvious fix for this one is to only perform the copy if
this is an actual write.

Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
1 parent 236cf17
Raw File
Kconfig
config LOGFS
	tristate "LogFS file system"
	depends on MTD || (!MTD && BLOCK)
	select ZLIB_INFLATE
	select ZLIB_DEFLATE
	select CRC32
	select BTREE
	help
	  Flash filesystem aimed to scale efficiently to large devices.
	  In comparison to JFFS2 it offers significantly faster mount
	  times and potentially less RAM usage, although the latter has
	  not been measured yet.

	  In its current state it is still very experimental and should
	  not be used for other than testing purposes.

	  If unsure, say N.
back to top