Re: tty, fbcon: use-after-free in fbcon_invert_region

2016-10-13 Thread Dmitry Vyukov
On Wed, Oct 12, 2016 at 12:48 AM, Scot Doyle wrote: >> On Tue, Oct 11, 2016 at 3:43 AM, Scot Doyle wrote: >> > I wonder if the text selection is outside the newly resized vc? >> > Does this patch help? >> > >> > --- vt.c2016-10-11 00:32:43.079605599 - >> > +++ vt.c.new2016-10-11 0

Re: tty, fbcon: use-after-free in fbcon_invert_region

2016-10-11 Thread Scot Doyle
> On Tue, Oct 11, 2016 at 3:43 AM, Scot Doyle wrote: > > I wonder if the text selection is outside the newly resized vc? > > Does this patch help? > > > > --- vt.c2016-10-11 00:32:43.079605599 - > > +++ vt.c.new2016-10-11 00:36:12.744650759 - > > @@ -874,6 +874,9 @@ > > if (!n

Re: tty, fbcon: use-after-free in fbcon_invert_region

2016-10-11 Thread Dmitry Vyukov
On Tue, Oct 11, 2016 at 3:43 AM, Scot Doyle wrote: > On Fri, 7 Oct 2016, Dmitry Vyukov wrote: >> On Sat, Sep 3, 2016 at 9:20 PM, Dmitry Vyukov wrote: >> > Hello, >> > >> > The following program causes use-after-free in fbcon_invert_region: >> > >> > https://gist.githubusercontent.com/dvyukov/d657

Re: tty, fbcon: use-after-free in fbcon_invert_region

2016-10-10 Thread Scot Doyle
On Fri, 7 Oct 2016, Dmitry Vyukov wrote: > On Sat, Sep 3, 2016 at 9:20 PM, Dmitry Vyukov wrote: > > Hello, > > > > The following program causes use-after-free in fbcon_invert_region: > > > > https://gist.githubusercontent.com/dvyukov/d657f9a9ca39f34c430dcf63ec1153ac/raw/04e1b94aef0fc9eb770d11373b5

Re: tty, fbcon: use-after-free in fbcon_invert_region

2016-10-07 Thread Dmitry Vyukov
On Sat, Sep 3, 2016 at 9:20 PM, Dmitry Vyukov wrote: > Hello, > > The following program causes use-after-free in fbcon_invert_region: > > https://gist.githubusercontent.com/dvyukov/d657f9a9ca39f34c430dcf63ec1153ac/raw/04e1b94aef0fc9eb770d11373b568980ecaa7f34/gistfile1.txt > > =