1
linux/arch/blackfin
Steven Miao 5ff6197f82 Blackfin: strncpy: fix handling of zero lengths
The jump to 4f will cause the NUL padding loop to run at least one time,
so if string length is zero just jump to the end.  Otherwise we wrongly
write one NUL byte when size==0.

Signed-off-by: Steven Miao <realmz6@gmail.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-06-03 11:05:36 -04:00
..
boot
configs
include Blackfin: gptimers: add structure for hardware register layout 2011-05-28 17:02:55 -04:00
kernel Blackfin: debug-mmrs: include RSI_PID[4567] MMRs 2011-05-28 17:02:56 -04:00
lib Blackfin: strncpy: fix handling of zero lengths 2011-06-03 11:05:36 -04:00
mach-bf518 Blackfin: bf51x: fix up RSI_PID# MMR defines 2011-05-28 17:02:56 -04:00
mach-bf527 Blackfin: bf52x/bf54x: fix up usb MMR defines 2011-05-28 17:02:56 -04:00
mach-bf533 Blackfin: mach/bfin_serial_5xx.h: punt now-unused header 2011-05-28 17:01:55 -04:00
mach-bf537 Blackfin: mach/bfin_serial_5xx.h: punt now-unused header 2011-05-28 17:01:55 -04:00
mach-bf538 Blackfin: mach/bfin_serial_5xx.h: punt now-unused header 2011-05-28 17:01:55 -04:00
mach-bf548 Blackfin: bf52x/bf54x: fix up usb MMR defines 2011-05-28 17:02:56 -04:00
mach-bf561 Blackfin: mach/bfin_serial_5xx.h: punt now-unused header 2011-05-28 17:01:55 -04:00
mach-common Blackfin: wire up new sendmmsg syscall 2011-05-28 17:02:55 -04:00
mm Merge branch 'tip/perf/urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-2.6-trace into perf/urgent 2011-05-27 14:28:09 +02:00
oprofile
ADI_BSD.txt
Kconfig
Kconfig.debug
Makefile