unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Kenichi Handa <handa@m17n.org>
To: Dan Nicolaescu <dann@ics.uci.edu>
Cc: emacs-devel@gnu.org
Subject: Re: Problem report #133: base/src/emacs/src/font.c (font_range); FORWARD_NULL
Date: Wed, 03 Dec 2008 16:08:38 +0900	[thread overview]
Message-ID: <E1L7lqg-0000ns-5Q@etlken.m17n.org> (raw)
In-Reply-To: <200812030131.mB31V9EQ022834@mothra.ics.uci.edu> (message from Dan Nicolaescu on Tue, 2 Dec 2008 17:31:09 -0800 (PST))

In article <200812030131.mB31V9EQ022834@mothra.ics.uci.edu>, Dan Nicolaescu <dann@ics.uci.edu> writes:

> CID: 133
> Checker: FORWARD_NULL (help)
> File: base/src/emacs/src/font.c
> Function: font_range
> Description: Variable "face" tracked as NULL was passed to a function
> that dereferences it.

That should never happen.

> 3689 		  face = FACE_FROM_ID (XFRAME (w->frame), face_id);

Perhaps that FACE_FROM_ID is the culprit.  Here it is
assured that it never return NULL.

---
Kenichi Handa
handa@ni.aist.go.jp




      reply	other threads:[~2008-12-03  7:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-03  1:31 Problem report #133: base/src/emacs/src/font.c (font_range); FORWARD_NULL Dan Nicolaescu
2008-12-03  7:08 ` Kenichi Handa [this message]

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=E1L7lqg-0000ns-5Q@etlken.m17n.org \
    --to=handa@m17n.org \
    --cc=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).