[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
problem report #100
From: |
Dan Nicolaescu |
Subject: |
problem report #100 |
Date: |
Mon, 1 Dec 2008 08:58:12 -0800 (PST) |
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;
- problem report #100,
Dan Nicolaescu <=