Re: [dev] Re: [dvtm] buffered text on resize

From: Niki Yoshiuchi <>
Date: Sun, 26 Sep 2010 02:22:50 -0400

I would absolutely love to see text reflowing but I think that would be
pretty difficult with the way that text is currently handled by dvtm.

By the way, there is a small bug (feature?) in my patch. It will sometimes
show old bits of text after a resize, since the extra buffer space hasn't
been zeroed. I'll try and fix that later this week.


On Sat, Sep 25, 2010 at 10:59 AM, Marc Andre Tanner <>wrote:

> On Fri, Sep 10, 2010 at 12:57:09AM -0400, Niki Yoshiuchi wrote:
> > There is a serious bug in my patch that can cause dvtm to crash which
> > I have fixed. After the calls to realloc there are calls to calloc
> > which were still using the cols field instead of maxcols, so there was
> > a potential buffer overflow (if you only used the tile and monocle
> > modes you wouldn't run into this). Anyway, I've attached the updated
> > patch.
> Thanks for the patch. Do you have any other pending changes you want
> to see in an upcoming 0.5.3 release?
> Thanks,
> Marc
> --
> Marc Andre Tanner >< >< GPG key: CF7D56C0
Received on Sun Sep 26 2010 - 08:22:50 CEST

This archive was generated by hypermail 2.2.0 : Sun Sep 26 2010 - 08:24:02 CEST