unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Problem report #16
@ 2006-04-11 15:48 Dan Nicolaescu
  2006-04-11 17:06 ` Stuart D. Herring
  2006-04-12 17:41 ` Dan Nicolaescu
  0 siblings, 2 replies; 5+ messages in thread
From: Dan Nicolaescu @ 2006-04-11 15:48 UTC (permalink / raw)



CID: 16
Checker: FORWARD_NULL (help)
File: emacs/src/fontset.c
Function: fs_load_font
Description: Variable "face" tracked as NULL was dereferenced.

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

667  	  if (face)
668  	    id = face->fontset;

At conditional (2): "id < 0" taking true path

669  	  if (id < 0)
670  	    fontset = Qnil;
671  	  else
672  	    fontset = FONTSET_FROM_ID (id);
673  	

At conditional (3): "fontset != Qnil" taking true path
At conditional (4): "(fontset & -8)->parent != Qnil" taking true path

674  	  if (!NILP (fontset)
675  	      && !BASE_FONTSET_P (fontset))
676  	    {
677  	      elt = FONTSET_REF_VIA_BASE (fontset, c);

At conditional (5): "elt != Qnil" taking true path

678  	      if (!NILP (elt))
679  		{
680  		  /* A suitable face for C is already recorded, which means
681  		     that a proper font is already loaded.  */
682  		  int face_id = XINT (elt);
683  	
684  		  xassert (face_id == face->id);

At conditional (6): "face_id < ((f)->face_cache)->used" taking false path

685  		  face = FACE_FROM_ID (f, face_id);

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

686  		  return (*get_font_info_func) (f, face->font_info_id);
687  		}

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

end of thread, other threads:[~2006-04-13 11:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-11 15:48 Problem report #16 Dan Nicolaescu
2006-04-11 17:06 ` Stuart D. Herring
2006-04-12 17:41 ` Dan Nicolaescu
2006-04-12 18:23   ` Stuart D. Herring
2006-04-13 11:21     ` Kenichi Handa

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).