Hello, Could somebody please apply the attached patch? No reply from Jason thus far. I previously sent this to the list too: http://archives.neohapsis.com/archives/openbsd/2005-12/0646.html Thanks Greg
--- Begin Message ---
- To: Jason Ish <ish_(_at_)_openbsd_(_dot_)_org>
- Subject: rxvt: patch for underflow in rxvt_selection_adjust_kanji
- From: Gregory Steuck <greg_(_at_)_y2006_(_dot_)_nest_(_dot_)_cx>
- Date: Sun, 08 Jan 2006 09:47:12 -0800
- Xref: home.nest.cx sent:1178
Hi Jason, Could you apply this patch? 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 seems to also be semantically correct as there is no need to extend selection when there is nothing selected on the line. I also uploaded this patch to rxvt bug database. http://sourceforge.net/tracker/?func=add&group_id=221&atid=100221 Thanks GregAttachment: patch-rxvt-underflow-in-rxvt_selection_adjust_kanji
Description: Binary data
--- End Message ---