unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Dan Nicolaescu <dann@ics.uci.edu>
To: emacs-devel@gnu.org
Subject: problem report #100
Date: Mon, 1 Dec 2008 08:58:12 -0800 (PST)	[thread overview]
Message-ID: <200812011658.mB1GwCEE015333@mothra.ics.uci.edu> (raw)

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;




             reply	other threads:[~2008-12-01 16:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-01 16:58 Dan Nicolaescu [this message]
2008-12-01 17:58 ` problem report #100 Davis Herring
2008-12-01 18:07 ` Andreas Schwab
2008-12-01 18:10 ` Chong Yidong
2008-12-01 20:25   ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200812011658.mB1GwCEE015333@mothra.ics.uci.edu \
    --to=dann@ics.uci.edu \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).