From: Dan Nicolaescu <dann@ics.uci.edu>
To: emacs-devel@gnu.org
Subject: Problem report #112: base/src/emacs/src/coding.c (produce_chars); UNINIT
Date: Tue, 2 Dec 2008 14:22:56 -0800 (PST) [thread overview]
Message-ID: <200812022222.mB2MMuiX021762@mothra.ics.uci.edu> (raw)
CID: 112
Checker: UNINIT (help)
File: base/src/emacs/src/coding.c
Function: produce_chars
Description: Using uninitialized value "consumed_chars"
Event var_decl: Declared variable "consumed_chars" without initializer
Also see events: [uninit_use]
6282 EMACS_INT consumed_chars;
6283
At conditional (1): "1" taking true path
6284 while (1)
6285 {
6286 const unsigned char *src_base = src;
6287 int c;
6288
Event uninit_use: Using uninitialized value "consumed_chars"
Also see events: [var_decl]
At conditional (2): "src == src_end" taking false path
At conditional (3): "multibytep != 0" taking true path
At conditional (4): "c & 128 != 0" taking true path
At conditional (5): "c & 254 == 192" taking true path
6289 ONE_MORE_BYTE (c);
6290 if (dst == dst_end)
6291 {
6292 if (EQ (coding->src_object, coding->dst_object))
6293 dst_end = (unsigned char *) src;
6294 if (dst == dst_end)
6295 {
next reply other threads:[~2008-12-02 22:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-02 22:22 Dan Nicolaescu [this message]
2008-12-03 5:21 ` Problem report #112: base/src/emacs/src/coding.c (produce_chars); UNINIT Kenichi Handa
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200812022222.mB2MMuiX021762@mothra.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.