Fixes all (I think) use after free. I'd like to get this in so please test.
diff -ruNp -x CVS ports/x11/scrotwm/Makefile scrotwm-0.9.18-port/Makefile --- ports/x11/scrotwm/Makefile Tue Oct 13 07:24:42 2009 +++ scrotwm-0.9.18-port/Makefile Tue Oct 20 18:31:28 2009 @@ -1,15 +1,15 @@ -# $OpenBSD: Makefile,v 1.11 2009/10/13 12:24:42 sthen Exp $ +# $OpenBSD: Makefile,v 1.10 2009/09/30 00:54:06 sthen Exp $ COMMENT= small tiling window manager SHARED_LIBS= swmhack 0.0 -DISTNAME= scrotwm-0.9.14 +DISTNAME= scrotwm-0.9.18 EXTRACT_SUFX= .tgz CATEGORIES= x11 HOMEPAGE= http://www.scrotwm.org/ -MAINTAINER= Pierre-Yves Ritschard <p...@spootnik.org> +MAINTAINER= Marco Peereboom <ma...@peereboom.us> # BSD PERMIT_PACKAGE_CDROM= Yes diff -ruNp -x CVS ports/x11/scrotwm/distinfo scrotwm-0.9.18-port/distinfo --- ports/x11/scrotwm/distinfo Tue Oct 13 07:24:42 2009 +++ scrotwm-0.9.18-port/distinfo Tue Oct 20 18:31:28 2009 @@ -1,5 +1,5 @@ -MD5 (scrotwm-0.9.14.tgz) = MK8dmLLK3G0O8nnfE6b66g== -RMD160 (scrotwm-0.9.14.tgz) = 1VOaqcCxoYAhIqQHNU/qd82DbZo= -SHA1 (scrotwm-0.9.14.tgz) = 5dO92AfnCIrb+4j+kXpKiNhHlTQ= -SHA256 (scrotwm-0.9.14.tgz) = Iw4Pjvg+iaX7/lTTyMHFIrFg1tExVyN/iVvXKJEkIlw= -SIZE (scrotwm-0.9.14.tgz) = 47942 +MD5 (scrotwm-0.9.18.tgz) = mvKebNf9OqgUcaZqEAY0ng== +RMD160 (scrotwm-0.9.18.tgz) = eoi5nybAiTeVqF/y7roTK9TXFKs= +SHA1 (scrotwm-0.9.18.tgz) = KiekGypMymwujMcf/LSghWWG8xU= +SHA256 (scrotwm-0.9.18.tgz) = sKj5eQcDsnuBe33XFBWTHJ30s5nh+7UBQqxKlG3JMFg= +SIZE (scrotwm-0.9.18.tgz) = 48242 diff -ruNp -x CVS ports/x11/scrotwm/patches/patch-scrotwm_c scrotwm-0.9.18-port/patches/patch-scrotwm_c --- ports/x11/scrotwm/patches/patch-scrotwm_c Tue Oct 13 07:24:42 2009 +++ scrotwm-0.9.18-port/patches/patch-scrotwm_c Tue Oct 20 18:31:28 2009 @@ -1,4 +1,4 @@ -$OpenBSD: patch-scrotwm_c,v 1.8 2009/10/13 12:24:42 sthen Exp $ +$OpenBSD: patch-scrotwm_c,v 1.7 2009/09/30 00:54:06 sthen Exp $ --- scrotwm.c.orig Wed Sep 23 06:04:09 2009 +++ scrotwm.c Fri Sep 25 17:28:03 2009 @@ -150,7 +150,7 @@ u_int32_t swm_debug = 0