From: Kenichi Handa <handa@m17n.org>
To: Dan Nicolaescu <dann@ics.uci.edu>
Cc: emacs-devel@gnu.org
Subject: Re: Problem report #117: base/src/emacs/src/coding.c (encode_coding_object); UNINIT
Date: Wed, 03 Dec 2008 14:41:25 +0900 [thread overview]
Message-ID: <E1L7kUH-0000Dq-Pm@etlken.m17n.org> (raw)
In-Reply-To: <200812030116.mB31G0IE022796@mothra.ics.uci.edu> (message from Dan Nicolaescu on Tue, 02 Dec 2008 16:59:20 -0800)
In article <200812030116.mB31G0IE022796@mothra.ics.uci.edu>, Dan Nicolaescu <dann@ics.uci.edu> writes:
> CID: 117
> Checker: UNINIT (help)
> File: base/src/emacs/src/coding.c
> Function: encode_coding_object
> Description: Using uninitialized value "saved_pt_byte" in call to function "temp_set_point_both"
That should not happen because:
[...]
> Event uninit_use: Using uninitialized value "saved_pt_byte"
> Also see events: [var_decl][uninit_use][uninit_use_in_call]
> 7489 TEMP_SET_PT_BOTH (saved_pt + (coding->produced_char - chars),
> 7490 saved_pt_byte + (coding->produced - bytes));
> 7491 else
We come here only when saved_pt >= 0, and that means
save_pt_byte is already set.
---
Kenichi Handa
handa@ni.aist.go.jp
prev parent reply other threads:[~2008-12-03 5:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-03 0:59 Problem report #117: base/src/emacs/src/coding.c (encode_coding_object); UNINIT Dan Nicolaescu
2008-12-03 5:41 ` 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=E1L7kUH-0000Dq-Pm@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).