NetBSD-Bugs archive

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

Re: kern/55509 (npm install -g electron crashes the kernel)



Synopsis: npm install -g electron crashes the kernel

State-Changed-From-To: feedback->closed
State-Changed-By: kamil%NetBSD.org@localhost
State-Changed-When: Mon, 11 Jan 2021 19:17:47 +0100
State-Changed-Why:
Fixed.

Raw reproducer:
#include <sys/types.h>
#include <stdio.h>
#include <unistd.h>

#define _LIBC
#include <sys/ksem.h>

int
main(int argc, char **argv)
{
	intptr_t id;

	id = 0;
	_ksem_init(0xffff, &id);
	setreuid(0xee00, 0);

	return 0;
}





Home | Main Index | Thread Index | Old Index