Date: Tue, 9 Mar 1999 17:24:27 -0700 (MST) From: Brian Handy <handy@lambic.physics.montana.edu> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/10518: memcpy bug in windowmaker Message-ID: <199903100024.RAA04264@lambic.physics.montana.edu>
next in thread | raw e-mail | index | archive | help
>Number: 10518 >Category: ports >Synopsis: memcpy bug in windowmaker >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Mar 9 16:30:00 PST 1999 >Closed-Date: >Last-Modified: >Originator: Brian Handy >Release: FreeBSD 2.2.8-STABLE i386 >Organization: MSU >Environment: WindowMaker-0.51.0 >Description: memcpy bug mentioned on the wm-dev list. Fix turned into a patch against windowmaker-0.51.0. Patch Submitted by: Dalroi <dalroi@wit401310.student.utwente.nl> >How-To-Repeat: >Fix: diff -urN windowmaker.orig/patches/patch-aa windowmaker/patches/patch-aa --- windowmaker.orig/patches/patch-aa Wed Dec 31 17:00:00 1969 +++ windowmaker/patches/patch-aa Tue Mar 9 17:17:46 1999 @@ -0,0 +1,14 @@ +--- wmlib/app.c.orig Tue Mar 9 17:17:14 1999 ++++ wmlib/app.c Tue Mar 9 17:17:23 1999 +@@ -65,9 +65,9 @@ + if (!win) + return False; + +- free(app->windows); +- + memcpy(win, app->windows, sizeof(Window)*app->win_count); ++ ++ free(app->windows); + + win[app->win_count] = window; + app->windows = win; >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199903100024.RAA04264>