Re: memory leak in wsdisplay.c (during WSDISPLAY_LDFONT)

2015-03-22 Thread Mark Kettenis
> Date: Sun, 22 Mar 2015 17:47:54 -0400 > from: dan mclaughlin > > On Sun, 22 Mar 2015 14:33:36 +0100 (CET) Mark Kettenis > wrote: > > > Date: Sun, 22 Mar 2015 04:30:54 -0400 > > > from: dan mclaughlin > > > > > > i think i found a memory leak in wsdisplay.c. when adding a font, > > > wsfont

Re: memory leak in wsdisplay.c (during WSDISPLAY_LDFONT)

2015-03-22 Thread dan mclaughlin
On Sun, 22 Mar 2015 14:33:36 +0100 (CET) Mark Kettenis wrote: > > Date: Sun, 22 Mar 2015 04:30:54 -0400 > > from: dan mclaughlin > > > > i think i found a memory leak in wsdisplay.c. when adding a font, wsfontload > > loads the font data into a buffer, and passes that thru the ioctl in a > > ws

Re: panic - init died

2015-03-22 Thread Rajneesh N. Shetty
thanks heaps Simon... tel :+61402350315 Rajneesh N. Shetty From: Mages Simon To: tech@openbsd.org Sent: Monday, 23 March 2015, 2:54 Subject: panic - init died Hi there, we got some Problems with init. "init died (signal 11 exit 0)" after using reboot(8) without any flags. after

panic - init died

2015-03-22 Thread Mages Simon
Hi there, we got some Problems with init. "init died (signal 11 exit 0)" after using reboot(8) without any flags. after some investigation i saw that in reboot(8) at line 241 folling code starts: for (i = 1;; ++i) { if (kill(-1, SIGKILL) == -1) {

Re: memory leak in wsdisplay.c (during WSDISPLAY_LDFONT)

2015-03-22 Thread Mark Kettenis
> Date: Sun, 22 Mar 2015 04:30:54 -0400 > from: dan mclaughlin > > i think i found a memory leak in wsdisplay.c. when adding a font, wsfontload > loads the font data into a buffer, and passes that thru the ioctl in a > wsdisplay_font struct. in wsdisplay.c where the ioctl is handled, a new > buff

memory leak in wsdisplay.c (during WSDISPLAY_LDFONT)

2015-03-22 Thread dan mclaughlin
i think i found a memory leak in wsdisplay.c. when adding a font, wsfontload loads the font data into a buffer, and passes that thru the ioctl in a wsdisplay_font struct. in wsdisplay.c where the ioctl is handled, a new buffer of kernel memory is allocated and the data is then copied there, via cop