Fix use-after-free bug found by our malloc guard, reported as

ickle crash by mpech@.

ok wilfred@ (maintainer) and pval@
This commit is contained in:
grange 2005-10-16 13:10:37 +00:00
parent ceb2584d24
commit 68074f4cd2
2 changed files with 13 additions and 2 deletions

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.19 2005/09/06 19:58:03 espie Exp $
# $OpenBSD: Makefile,v 1.20 2005/10/16 13:10:37 grange Exp $
COMMENT= "C++ interface for gtk+"
COMMENT-docs= "C++ interface for gtk+ documentation"
VERSION= 1.2.10
DISTNAME= gtkmm-${VERSION}
PKGNAME= ${DISTNAME}p0
PKGNAME= ${DISTNAME}p1
PKGNAME-docs= gtkmm-docs-${VERSION}
CATEGORIES= devel x11

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-src_object_gen_h,v 1.1 2005/10/16 13:10:37 grange Exp $
--- src/object.gen_h.orig Sun Jul 15 17:33:38 2001
+++ src/object.gen_h Sun Oct 16 13:09:58 2005
@@ -267,7 +267,6 @@ void Object::destroy_()
// GtkFunction(&gtkmm_object_destroy_callback),
// gtkobj());
gtk_object_destroy(gtkobject);
- destroyed_=true;
}
void Object::gtkmm_sigsegv(const char *pos) {