Re: Fix for segfault in Font_metric::mark_smob (optimization; Debian bug #684817)

2013-01-01 Thread David Kastrup
Don Armstrong writes: > On Fri, 28 Dec 2012, David Kastrup wrote: >> Don Armstrong writes: >> > The attached patch fixes a segfault in mark_smob where s gets >> > optimized away and garbage collected before m goes out of scope, >> > leading to a segfault. >> > >> > There may be other cases of th

Re: Fix for segfault in Font_metric::mark_smob (optimization; Debian bug #684817)

2013-01-01 Thread Don Armstrong
On Fri, 28 Dec 2012, David Kastrup wrote: > Don Armstrong writes: > > The attached patch fixes a segfault in mark_smob where s gets > > optimized away and garbage collected before m goes out of scope, > > leading to a segfault. > > > > There may be other cases of this bug floating around, but I di

Re: Fix for segfault in Font_metric::mark_smob (optimization; Debian bug #684817)

2012-12-28 Thread David Kastrup
Don Armstrong writes: > The attached patch fixes a segfault in mark_smob where s gets > optimized away and garbage collected before m goes out of scope, > leading to a segfault. > > There may be other cases of this bug floating around, but I didn't > look particularly hard for them. > diff --git

Fix for segfault in Font_metric::mark_smob (optimization; Debian bug #684817)

2012-12-28 Thread Don Armstrong
The attached patch fixes a segfault in mark_smob where s gets optimized away and garbage collected before m goes out of scope, leading to a segfault. There may be other cases of this bug floating around, but I didn't look particularly hard for them. Don Armstrong -- I shall require that [a sc