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 #13 Date: Tue, 11 Apr 2006 08:49:26 -0700 Message-ID: <200604111549.k3BFnQ2N015126@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 1144770765 4131 80.91.229.2 (11 Apr 2006 15:52:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 11 Apr 2006 15:52:45 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 11 17:52:44 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 1FTLAJ-0005Cn-QO for ged-emacs-devel@m.gmane.org; Tue, 11 Apr 2006 17:52:28 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FTLAI-0002d9-Vw for ged-emacs-devel@m.gmane.org; Tue, 11 Apr 2006 11:52:27 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FTL9E-0001cf-VD for emacs-devel@gnu.org; Tue, 11 Apr 2006 11:51:21 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FTL9D-0001aw-Nh for emacs-devel@gnu.org; Tue, 11 Apr 2006 11:51:20 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FTL9D-0001ac-El for emacs-devel@gnu.org; Tue, 11 Apr 2006 11:51: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 1FTLE6-0002Mm-Kb for emacs-devel@gnu.org; Tue, 11 Apr 2006 11:56:22 -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 k3BFnQ2N015126 for ; Tue, 11 Apr 2006 08:49:26 -0700 (PDT) Original-To: emacs-devel@gnu.org Original-Lines: 55 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam (whitelisted), SpamAssassin (score=-0.84, required 5, autolearn=disabled, ALL_TRUSTED -1.44, J_CHICKENPOX_34 0.60) 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:52670 Archived-At: CID: 13 Checker: FORWARD_NULL (help) File: emacs/src/coding.c Function: encode_coding_string Description: Variable "(coding)->cmp_data" tracked as NULL was passed to a function that dereferences it. 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 true path 6435 if (coding->type != coding_type_ccl 6436 && (! coding->cmp_data || coding->cmp_data->used == 0)) 6437 { At conditional (2): "(to_byte - from) > shrink_conversion_region_threshhold" taking true path At conditional (3): "1" taking true path At conditional (4): "0" taking false path 6438 SHRINK_CONVERSION_REGION (&from, &to_byte, coding, SDATA (str), 6439 1); At conditional (5): "from == to_byte" taking false path 6440 if (from == to_byte) 6441 { 6442 coding_free_composition_data (coding); 6443 goto no_need_of_encoding; 6444 } At conditional (6): "((0), (str & -8))->size_byte < 0" taking true path 6445 shrinked_bytes = from + (SBYTES (str) - to_byte); 6446 } 6447 6448 len = encoding_buffer_size (coding, to_byte - from); At conditional (7): "len < 16384" taking true path At conditional (8): "0" taking false path 6449 allocate_conversion_buffer (buf, len); 6450 6451 consumed = consumed_char = produced = produced_char = 0; At conditional (9): "1" taking true path 6452 while (1) 6453 { 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] 6454 result = encode_coding (coding, SDATA (str) + from + consumed, 6455 buf.data + produced, to_byte - from - consumed, 6456 buf.size - produced);