Date: Mon, 20 Aug 2001 11:04:30 +0900 (JST) From: Takanori Saneto <sanewo@ba2.so-net.ne.jp> To: FreeBSD-gnats-submit@freebsd.org Cc: DougB@freebsd.org Subject: ports/29880: xscreensaver hacks dumps core Message-ID: <200108200204.f7K24UP25146@ba2.so-net.ne.jp>
next in thread | raw e-mail | index | archive | help
>Number: 29880 >Category: ports >Synopsis: xscreensaver hacks dumps core >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Aug 19 19:10:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Takanori Saneto >Release: FreeBSD 5.0-CURRENT i386 >Organization: >Environment: System: FreeBSD muse.sanewo 5.0-CURRENT FreeBSD 5.0-CURRENT #10: Sat Aug 18 21:02:31 JST 2001 sanewo@muse.sanewo:/export/usr.obj/usr/src/sys/MUSE i386 ports/x11/xscreensaver as of today. gtk enabled. >Description: due to buffer overrun, some hacks of xscreensaver dumps core sporadically. >How-To-Repeat: Install and invoke xscreensaver and let it run for a while (e.g. one night), and you will see couple core dumps. >Fix: Following patch shuould close a bug. I don't know if there are other bugs like this one, though. --- utils/erase.c.orig Mon Aug 20 09:31:01 2001 +++ utils/erase.c Mon Aug 20 09:32:36 2001 @@ -91,6 +91,7 @@ for (j = 0; j < granularity; j++) { int ii = i * granularity + j; + if (ii >= max) break; if (horiz_p) XDrawLine (dpy, window, gc, 0, lines[ii], width, lines[ii]); else >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?200108200204.f7K24UP25146>