unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Dan Nicolaescu <dann@ics.uci.edu>
Subject: Problem report #25
Date: Mon, 10 Apr 2006 11:58:48 -0700	[thread overview]
Message-ID: <200604101858.k3AIwmQX005630@scanner2.ics.uci.edu> (raw)

CID: 25
Checker: FORWARD_NULL (help)
File: emacs/src/xterm.c
Function: x_set_mouse_face_gc
Description: Variable "face" tracked as NULL was passed to a function that dereferences it.

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

1064 	  if (face == NULL)

At conditional (2): "9 < (((s)->f)->face_cache)->used" taking false path

1065 	    face = FACE_FROM_ID (s->f, MOUSE_FACE_ID);
1066 	

At conditional (3): "((s)->first_glyph)->type == 0" taking true path

1067 	  if (s->first_glyph->type == CHAR_GLYPH)

Event var_deref_op: Variable "face" tracked as NULL was dereferenced.
Event var_deref_model: Variable "face" tracked as NULL was passed to a function that dereferences it. [model]
Also see events: [var_compare_op][var_deref_op][var_deref_model]
At conditional (4): "(((s)->first_glyph)->u).ch & 255 == (((s)->first_glyph)->u).ch" taking true path

1068 	    face_id = FACE_FOR_CHAR (s->f, face, s->first_glyph->u.ch);
1069 	  else

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

1070 	    face_id = FACE_FOR_CHAR (s->f, face, 0);
1071 	  s->face = FACE_FROM_ID (s->f, face_id);
1072 	  PREPARE_FACE_FOR_DISPLAY (s->f, s->face);
1073 	

             reply	other threads:[~2006-04-10 18:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-10 18:58 Dan Nicolaescu [this message]
2006-04-11  6:44 ` Problem report #25 Jan D.

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=200604101858.k3AIwmQX005630@scanner2.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).