Re: [REGRESSION] [PATCH] ->iter_parent returns invalid tree iterators
- From: Thierry Vignaud <tvignaud mandrakesoft com>
- To: gtk-perl ml <gtk-perl-list gnome org>
- Subject: Re: [REGRESSION] [PATCH] ->iter_parent returns invalid tree iterators
- Date: Wed, 16 Jul 2003 15:53:50 +0200
Thierry Vignaud <tvignaud mandrakesoft com> writes:
the last thing that prevent me from running rpmdrake was that
->iter_parent returned an invalid iterator, because it returned a
pointer on a stack object, which of course may have been overwriten
since (gtk+ developers should really think about adding magic numbers
to their structs for debugging purpose)
here's the fix:
btw, someone should audit all xs functions that allocate items on the
stack in order to catch those that directly return stack references
...
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]