]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit584236ac7cdddeec0fdff25d2e475471ef91d028
tree78ddc51de4dde2bd1569d6c6ebfe03aad5cd2b90
parent386d9a7edd9f3492c99124b0a659e9ed7abb30f9
[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