unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Kenichi Handa <handa@m17n.org>
Subject: Re: Problem report #14  FALSE
Date: Fri, 14 Apr 2006 10:54:45 +0900	[thread overview]
Message-ID: <E1FUDWH-0001Pa-00@etlken> (raw)
In-Reply-To: <200604111549.k3BFnBwQ015115@scanner2.ics.uci.edu> (message from Dan Nicolaescu on Tue, 11 Apr 2006 08:49:11 -0700)

In article <200604111549.k3BFnBwQ015115@scanner2.ics.uci.edu>, Dan Nicolaescu <dann@ics.uci.edu> writes:

> CID: 14
> Checker: FORWARD_NULL (help)
> File: emacs/src/fileio.c
> Function: e_write
> Description: Variable "(coding)->cmp_data" tracked as NULL was passed to a function that dereferences it.

In e_write, coding->cmp_data is allocated by xmalloc in
advance if coding->composing != COMPOSITION_DISABLED, and

> Event var_deref_model: Variable "(coding)->cmp_data" tracked as NULL was passed to a function that dereferences it. [model]
> Also see events: [var_compare_op]

> 5625 	      result = encode_coding (coding, addr, buf, nbytes, WRITE_BUF_SIZE);

this function dereferences coding->cmp_data only when
coding->composing != COMPOSITION_DISABLED.

So, I think there's no bug.

---
Kenichi Handa
handa@m17n.org

      reply	other threads:[~2006-04-14  1:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-11 15:49 Problem report #14 Dan Nicolaescu
2006-04-14  1:54 ` 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=E1FUDWH-0001Pa-00@etlken \
    --to=handa@m17n.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).