all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* problem report #100
@ 2008-12-01 16:58 Dan Nicolaescu
  2008-12-01 17:58 ` Davis Herring
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Dan Nicolaescu @ 2008-12-01 16:58 UTC (permalink / raw)
  To: emacs-devel

CID: 100
Checker: FORWARD_NULL (help)
File: base/src/emacs/src/xfaces.c
Function: realize_x_face
Description: Variable "default_face" tracked as NULL was dereferenced.


Event var_compare_op: Added "default_face" due to comparison "default_face != 0"
Also see events: [var_deref_op]
At conditional (1): "default_face != 0" taking false path

5853 	  if (default_face
5854 	      && lface_same_font_attributes_p (default_face->lface, attrs))
5855 	    {
5856 	      face->font = default_face->font;
5857 	      face->fontset
5858 		= make_fontset_for_ascii_face (f, default_face->fontset, face);
5859 	    }
5860 	  else
5861 	    {
5862 	      /* If the face attribute ATTRS specifies a fontset, use it as
5863 		 the base of a new realized fontset.  Otherwise, use the same
5864 		 base fontset as of the default face.  The base determines
5865 		 registry and encoding of a font.  It may also determine
5866 		 foundry and family.  The other fields of font name pattern
5867 		 are constructed from ATTRS.  */
5868 	      int fontset = face_fontset (attrs);
5869 	
5870 	      /* If we are realizing the default face, ATTRS should specify a
5871 		 fontset.  In other words, if FONTSET is -1, we are not
5872 		 realizing the default face, thus the default face should have
5873 		 already been realized.  */

At conditional (2): "fontset == -1" taking true path

5874 	      if (fontset == -1)

Event var_deref_op: Variable "default_face" tracked as NULL was dereferenced.
Also see events: [var_compare_op]

5875 		fontset = default_face->fontset;




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-12-01 20:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-01 16:58 problem report #100 Dan Nicolaescu
2008-12-01 17:58 ` Davis Herring
2008-12-01 18:07 ` Andreas Schwab
2008-12-01 18:10 ` Chong Yidong
2008-12-01 20:25   ` Stefan Monnier

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.