tmp_suning_uos_patched/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 Blackfin: encode cpu-rev into uImage name 2011-01-10 07:18:27 -05:00
configs Blackfin: bf533-stamp/bf537-stamp: drop ad1980 from defconfigs 2011-05-25 08:13:43 -04:00
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 arch: remove CONFIG_GENERIC_FIND_{NEXT_BIT,BIT_LE,LAST_BIT} 2011-05-26 17:12:38 -07:00
Kconfig.debug Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vapier/blackfin 2011-05-25 15:34:14 -07:00
Makefile Blackfin: encode cpu-rev into uImage name 2011-01-10 07:18:27 -05:00