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 #23 FALSE Date: Thu, 11 May 2006 11:24:32 +0900 Message-ID: References: <200604111549.k3BFnVRs015129@scanner2.ics.uci.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1147314371 30899 80.91.229.2 (11 May 2006 02:26:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 11 May 2006 02:26:11 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 11 04:26:10 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Fe0sI-0008JP-QD for ged-emacs-devel@m.gmane.org; Thu, 11 May 2006 04:25:59 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fe0sI-0006cb-4M for ged-emacs-devel@m.gmane.org; Wed, 10 May 2006 22:25:58 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Fe0rW-00066u-EV for emacs-devel@gnu.org; Wed, 10 May 2006 22:25:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Fe0rU-00065i-Ij for emacs-devel@gnu.org; Wed, 10 May 2006 22:25:09 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fe0rU-00065a-88 for emacs-devel@gnu.org; Wed, 10 May 2006 22:25:08 -0400 Original-Received: from [192.47.44.130] (helo=tsukuba.m17n.org) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1Fe0st-0003Hp-Jh for emacs-devel@gnu.org; Wed, 10 May 2006 22:26:36 -0400 Original-Received: from nfs.m17n.org (nfs.m17n.org [192.47.44.7]) by tsukuba.m17n.org (8.13.4/8.13.4/Debian-3sarge1) with ESMTP id k4B2P5Tj022645 for ; Thu, 11 May 2006 11:25:05 +0900 Original-Received: from etlken (etlken.m17n.org [192.47.44.125]) by nfs.m17n.org (8.13.4/8.13.4/Debian-3sarge1) with ESMTP id k4B2P5qh007657 for ; Thu, 11 May 2006 11:25:05 +0900 Original-Received: from handa by etlken with local (Exim 3.36 #1 (Debian)) id 1Fe0qu-0002UY-00 for ; Thu, 11 May 2006 11:24:32 +0900 Original-To: emacs-devel@gnu.org In-reply-to: <200604111549.k3BFnVRs015129@scanner2.ics.uci.edu> (message from Dan Nicolaescu on Tue, 11 Apr 2006 08:49:30 -0700) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/22.0.50 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI) 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:54219 Archived-At: In article <200604111549.k3BFnVRs015129@scanner2.ics.uci.edu>, Dan Nicolaescu writes: > CID: 23 > Checker: FORWARD_NULL (help) > File: emacs/src/coding.c > Function: code_convert_region > Description: Variable "(coding)->cmp_data" tracked as NULL was dereferenced. I see no bug here (same as Problem report #13). This part may be not clear: > At conditional (18): "(coding)->composing != 0" taking true path > 5763 if (coding->composing != COMPOSITION_DISABLED) > Event var_deref_op: Variable "(coding)->cmp_data" tracked as NULL was dereferenced. > Also see events: [var_compare_op] > 5764 coding->cmp_data->char_offset = from + inserted; > 5765 result = decode_coding (coding, src, dst, len_byte, 0); > 5766 } > 5767 But, the code surely allocates coding->cmp_data if (coding->composing != COMPOSITION_DISABLED) at line 5677. --- Kenichi Handa handa@m17n.org