lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Don Armstrong
Subject: Fix for segfault in Font_metric::mark_smob (optimization; Debian bug #684817)
Date: Fri, 28 Dec 2012 12:09:42 -0800
User-agent: Mutt/1.5.21 (2010-09-15)

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 scientific system's] logical form shall be
such that it can be singled out, by means of empirical tests, in a
negative sense: it must be possible for an empirical scientific system
to be refuted by experience.
 -- Sir Karl Popper _Logic of Scientific Discovery_ ยง6

http://www.donarmstrong.com              http://rzlab.ucr.edu

Attachment: 0001-do-not-allow-s-to-be-garbage-collected-in-Font_metri.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]