From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: Problem report #14 Date: Tue, 11 Apr 2006 08:49:11 -0700 Message-ID: <200604111549.k3BFnBwQ015115@scanner2.ics.uci.edu> Reply-To: emacs-devel@gnu.org NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1144770848 4490 80.91.229.2 (11 Apr 2006 15:54:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 11 Apr 2006 15:54:08 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 11 17:54:03 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 1FTLBX-0005TX-9D for ged-emacs-devel@m.gmane.org; Tue, 11 Apr 2006 17:53:43 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FTLBW-0004r1-OZ for ged-emacs-devel@m.gmane.org; Tue, 11 Apr 2006 11:53:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FTLAD-0002re-4i for emacs-devel@gnu.org; Tue, 11 Apr 2006 11:52:21 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FTLAB-0002po-OF for emacs-devel@gnu.org; Tue, 11 Apr 2006 11:52:20 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FTLAB-0002pY-FV for emacs-devel@gnu.org; Tue, 11 Apr 2006 11:52:19 -0400 Original-Received: from [128.195.1.36] (helo=scanner2.ics.uci.edu) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FTLF4-0002Wp-Qh for emacs-devel@gnu.org; Tue, 11 Apr 2006 11:57:23 -0400 Original-Received: from vino.ics.uci.edu (vino.ics.uci.edu [128.195.11.198]) by scanner2.ics.uci.edu (8.13.6/8.13.5) with ESMTP id k3BFnBwQ015115 for ; Tue, 11 Apr 2006 08:49:11 -0700 (PDT) Original-To: emacs-devel@gnu.org Original-Lines: 43 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam (whitelisted), SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@vino.ics.uci.edu 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:52672 Archived-At: 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. 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); 5626 if (coding->produced > 0) 5627 { 5628 coding->produced -= emacs_write (desc, buf, coding->produced); 5629 if (coding->produced) 5630 { 5631 return_val = -1; 5632 break; 5633 } 5634 } 5635 nbytes -= coding->consumed; 5636 addr += coding->consumed; 5637 if (result == CODING_FINISH_INSUFFICIENT_SRC 5638 && nbytes > 0) 5639 { 5640 /* The source text ends by an incomplete multibyte form. 5641 There's no way other than write it out as is. */ 5642 nbytes -= emacs_write (desc, addr, nbytes); 5643 if (nbytes) 5644 { 5645 return_val = -1; 5646 break; 5647 } 5648 } 5649 if (nbytes <= 0) 5650 break; 5651 start += coding->consumed_char; Event var_compare_op: Added "(coding)->cmp_data" due to comparison "(coding)->cmp_data != 0" Also see events: [var_deref_model] At conditional (1): "(coding)->cmp_data != 0" taking false path 5652 if (coding->cmp_data) 5653 coding_adjust_composition_offset (coding, start);