linux-sg2042/arch/alpha/lib
Ivan Kokshaysky fe4304baf2 alpha: strncpy/strncat fixes
First of all, thanks to Bob Tracy <rct@frus.com> and
Michael Cree <mcree@orcon.net.nz> for testing.
Especially to Bob, as he has done titanic multi-day git-bisect
work that finally helped to reproduce and nail down the bug
(http://bugzilla.kernel.org/show_bug.cgi?id=9457).

[ev6-]stxncpy.S: it's t12, not t2 register that is supposed to contain
the last byte offset upon return. As a result of wrong register use
(which was my fault back in 2003, IIRC), under some circumstances extra
terminating zero bytes were added to destination string. This particularly
led to incorrect DEVPATH strings generated in uevent and therefore to udev
problems.

strncpy.S: unrelated bug I found while testing the above fix - destination
is not properly zero-padded then a byte count exceeds source length.
Actually this is addition to strncpy fix from last year.

Signed-off-by: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Cc: Richard Henderson <rth@twiddle.net>
Cc: Bob Tracy <rct@frus.com>
Cc: Michael Cree <mcree@orcon.net.nz>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-12-17 19:28:15 -08:00
..
Makefile kbuild: enable 'make CFLAGS=...' to add additional options to CC 2007-10-14 22:21:35 +02:00
callback_srm.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
checksum.c spelling fixes: arch/alpha/ 2007-10-20 01:04:37 +02:00
clear_page.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
clear_user.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
copy_page.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
copy_user.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
csum_ipv6_magic.S alpha: fix alignment problem in csum_ipv6_magic() 2007-06-24 08:59:11 -07:00
csum_partial_copy.c spelling fixes: arch/alpha/ 2007-10-20 01:04:37 +02:00
dbg_current.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dbg_stackcheck.S fix file specification in comments 2006-10-03 23:01:26 +02:00
dbg_stackkill.S fix file specification in comments 2006-10-03 23:01:26 +02:00
dec_and_lock.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
divide.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ev6-clear_page.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ev6-clear_user.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ev6-copy_page.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ev6-copy_user.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ev6-csum_ipv6_magic.S alpha: fix alignment problem in csum_ipv6_magic() 2007-06-24 08:59:11 -07:00
ev6-divide.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ev6-memchr.S [PATCH] bitops: alpha: use config options instead of __alpha_fix__ and __alpha_cix__ 2006-03-26 08:57:09 -08:00
ev6-memcpy.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ev6-memset.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ev6-strncpy_from_user.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ev6-stxcpy.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ev6-stxncpy.S alpha: strncpy/strncat fixes 2007-12-17 19:28:15 -08:00
ev67-strcat.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ev67-strchr.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ev67-strlen.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ev67-strlen_user.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ev67-strncat.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ev67-strrchr.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
fls.c remove asm/bitops.h includes 2007-10-19 11:53:41 -07:00
fpreg.c [PATCH] bitops: alpha: use config options instead of __alpha_fix__ and __alpha_cix__ 2006-03-26 08:57:09 -08:00
memchr.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
memcpy.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
memmove.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
memset.S fix file specification in comments 2006-10-03 23:01:26 +02:00
srm_printk.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
srm_puts.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
stacktrace.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
strcat.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
strchr.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
strcpy.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
strlen.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
strlen_user.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
strncat.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
strncpy.S alpha: strncpy/strncat fixes 2007-12-17 19:28:15 -08:00
strncpy_from_user.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
strrchr.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
stxcpy.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
stxncpy.S alpha: strncpy/strncat fixes 2007-12-17 19:28:15 -08:00
udelay.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00