readgptlabel() fails on incorrect size passed to free()

2014-12-20 Thread David Imhoff
Hi, When trying to get GPT working on the current OpenBSD snapshot I ran into a kernel crash. This is caused because the readgptlabel() passes an incorrect size to the last free() call in the function. The size is stored in a variable 'gpsz'. However this variable is defined twice, in the

Re: readgptlabel() fails on incorrect size passed to free()

2014-12-20 Thread Mark Kettenis
Date: Sat, 20 Dec 2014 14:17:04 +0100 From: David Imhoff dimhoff_de...@xs4all.nl Hi, When trying to get GPT working on the current OpenBSD snapshot I ran into a kernel crash. This is caused because the readgptlabel() passes an incorrect size to the last free() call in the function.

Re: kernel builded from -current source not boot anymore

2014-12-20 Thread Mike Larkin
On Fri, Dec 19, 2014 at 03:47:04PM +0100, Jiri Navratil wrote: I was able to return to working kernel via cvs -d$CVSROOT up -Pd -D 20141107 Sticky Date: 2014.11.06.23.01.00 I can boot to mp kernel again. dmesg from that kernel is attached. I'm not able to boot to kernel created