From owner-freebsd-ports Tue Mar 9 16:30:17 1999 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 46AE414F1B for ; Tue, 9 Mar 1999 16:30:15 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.2/8.9.2) id QAA51980; Tue, 9 Mar 1999 16:30:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from lambic.physics.montana.edu (lambic.physics.montana.edu [153.90.192.128]) by hub.freebsd.org (Postfix) with ESMTP id 2B1BE14D1D for ; Tue, 9 Mar 1999 16:24:45 -0800 (PST) (envelope-from handy@lambic.physics.montana.edu) Received: (from handy@localhost) by lambic.physics.montana.edu (8.8.8/8.8.7) id RAA04264; Tue, 9 Mar 1999 17:24:27 -0700 (MST) (envelope-from handy) Message-Id: <199903100024.RAA04264@lambic.physics.montana.edu> Date: Tue, 9 Mar 1999 17:24:27 -0700 (MST) From: Brian Handy Reply-To: handy@lambic.physics.montana.edu To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/10518: memcpy bug in windowmaker Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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 >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