Re: rxvt: patch for underflow in rxvt_selection_adjust_kanji

2005-12-11 Thread David Cathcart
On Sat, Dec 10, 2005 at 07:42:11PM -0800, Gregory Steuck wrote: Attached is a patch for rxvt bug found by guarded malloc. Works on i386, fixes that bug. OK Remember to: -PKGNAME-clock= rclock-${VER} +PKGNAME= rxvt-${VER}p0 +PKGNAME-clock= rclock-${VER}p0 Dunno if rclock needs to be

rxvt: patch for underflow in rxvt_selection_adjust_kanji

2005-12-10 Thread Gregory Steuck
Attached is a patch for rxvt bug found by guarded malloc. There is an underflow condition in rxvt_selection_adjust_kanji triggered when one drags the mouse holding left button along the left side of the window (c1 == 0). The added check prevents reading memory before the allocated buffer. This