emacs-devel
[Top][All Lists]
Advanced

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

Problem report #24


From: Dan Nicolaescu
Subject: Problem report #24
Date: Mon, 10 Apr 2006 11:50:06 -0700

CID: 24
Checker: FORWARD_NULL (help)
File: emacs/src/xfaces.c
Function: Fx_list_fonts
Description: Variable "f" tracked as NULL was passed to a function that 
dereferences it.

Event assign_zero: Variable "f" assigned value 0.
Also see events: [var_deref_model]

3022          f = NULL;
3023          face = Qnil;
3024        }
3025    
3026      /* Determine the width standard for comparison with the fonts we 
find.  */
3027    

At conditional (1): "face == Qnil" taking false path

3028      if (NILP (face))
3029        size = 0;
3030      else
3031        {
3032          /* This is of limited utility since it works with character
3033             widths.  Keep it for compatibility.  --gerd.  */

Event var_deref_model: Variable "f" tracked as NULL was passed to a function 
that dereferences it. [model]
Also see events: [assign_zero]

3034          int face_id = lookup_named_face (f, face, 0, 0);
3035          struct face *face = (face_id < 0
3036                               ? NULL
3037                               : FACE_FROM_ID (f, face_id));
3038    




reply via email to

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