]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] elf: include terminating zero in n_namesz
authorMagnus Damm <magnus@valinux.co.jp>
Thu, 7 Dec 2006 04:37:56 +0000 (20:37 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Thu, 7 Dec 2006 16:39:38 +0000 (08:39 -0800)
commitf1ef275776d997f444d221c43e9027d7d468743b
tree78ddc51de4dde2bd1569d6c6ebfe03aad5cd2b90
parent3a48ccd4e9e4953cd6f00f16c615723883b87d9c
[PATCH] elf: include terminating zero in n_namesz

The ELF32 spec says we should plus we include the zero on other platforms.

Signed-off-by: Magnus Damm <magnus@valinux.co.jp>
Cc: Daniel Jacobowitz <drow@false.org>
Cc: Roland McGrath <roland@redhat.com>
Cc: Jakub Jelinek <jakub@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/mips/kernel/irixelf.c