From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: Problem report #117: base/src/emacs/src/coding.c (encode_coding_object); UNINIT Date: Wed, 03 Dec 2008 14:41:25 +0900 Message-ID: References: <200812030116.mB31G0IE022796@mothra.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1228282908 2178 80.91.229.12 (3 Dec 2008 05:41:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 3 Dec 2008 05:41:48 +0000 (UTC) Cc: emacs-devel@gnu.org To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 03 06:42:50 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1L7kVc-0000i0-5i for ged-emacs-devel@m.gmane.org; Wed, 03 Dec 2008 06:42:49 +0100 Original-Received: from localhost ([127.0.0.1]:58711 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L7kUR-0005sm-Ir for ged-emacs-devel@m.gmane.org; Wed, 03 Dec 2008 00:41:35 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L7kUM-0005sd-Ha for emacs-devel@gnu.org; Wed, 03 Dec 2008 00:41:30 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L7kUL-0005sR-3m for emacs-devel@gnu.org; Wed, 03 Dec 2008 00:41:29 -0500 Original-Received: from [199.232.76.173] (port=38599 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L7kUL-0005sO-1B for emacs-devel@gnu.org; Wed, 03 Dec 2008 00:41:29 -0500 Original-Received: from mx1.aist.go.jp ([150.29.246.133]:61919) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L7kUK-0005d8-CZ for emacs-devel@gnu.org; Wed, 03 Dec 2008 00:41:28 -0500 Original-Received: from rqsmtp1.aist.go.jp (rqsmtp1.aist.go.jp [150.29.254.115]) by mx1.aist.go.jp with ESMTP id mB35fQLi016790; Wed, 3 Dec 2008 14:41:26 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp1.aist.go.jp by rqsmtp1.aist.go.jp with ESMTP id mB35fQ3w017245; Wed, 3 Dec 2008 14:41:26 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp1.aist.go.jp with ESMTP id mB35fPRu015584; Wed, 3 Dec 2008 14:41:25 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken.m17n.org with local (Exim 4.69) (envelope-from ) id 1L7kUH-0000Dq-Pm; Wed, 03 Dec 2008 14:41:25 +0900 In-reply-to: <200812030116.mB31G0IE022796@mothra.ics.uci.edu> (message from Dan Nicolaescu on Tue, 02 Dec 2008 16:59:20 -0800) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/23.0.60 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) X-detected-operating-system: by monty-python.gnu.org: Solaris 9 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:106502 Archived-At: In article <200812030116.mB31G0IE022796@mothra.ics.uci.edu>, Dan Nicolaescu 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