linux/drivers/base
Linus Torvalds 5309809129 Add explicit zeroing to "envp" array in device 'show' method
As Stephen Hemminger says, this is a "belt and suspenders" patch that
zeroes the envp array at allocation time, even though all the users
should NULL-terminate it anyway (and we've hopefully fixed everybody
that doesn't do that).

And we'll apparently clean the whole envp thing up for 2.6.24 anyway.

But let's just be robust, and do both this *and* make sure that all
users are doing the right thing.

Acked-by: Stephen Hemminger <shemminger@linux-foundation.org>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-09-26 09:16:21 -07:00
..
power Introduce CONFIG_SUSPEND for suspend-to-Ram and standby 2007-07-29 16:45:38 -07:00
Kconfig
Makefile
attribute_container.c
base.h
bus.c
class.c driver-core: make devt_attr and uevent_attr static 2007-07-11 16:09:06 -07:00
core.c Add explicit zeroing to "envp" array in device 'show' method 2007-09-26 09:16:21 -07:00
cpu.c CPU online file permission 2007-07-31 15:39:39 -07:00
dd.c
devres.c
dma-mapping.c
dmapool.c dma: make dma pool to use kmalloc_node 2007-07-16 09:05:51 -07:00
driver.c
firmware.c
firmware_class.c kernel-doc fixes for PCI and drivers/base/ 2007-07-30 14:25:12 -07:00
hypervisor.c
init.c
isa.c
map.c
memory.c
node.c
platform.c
sys.c
topology.c
transport_class.c