NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/42105: PT_NOTE - section .note.netbsd.ident missing => crash



>Number:         42105
>Category:       kern
>Synopsis:       PT_NOTE - section .note.netbsd.ident missing => crash
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 21 08:30:01 +0000 2009
>Originator:     Lasse Skov
>Release:        NetBSD 5.0.1
>Organization:
None
>Environment:
sorry
>Description:
Elf binary without the note section crashes kern
>How-To-Repeat:
format ELF
public start
section '.text'
 mov eax,1
 push 0
 push 0
 int $80


===
fasm t.asm; ld -e t.o -o t
./t
>Fix:
goto next instead of goto error looks speciel in (elf_exec) 
But crashed my system before testing (not related to problem)



Home | Main Index | Thread Index | Old Index