unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Dan Nicolaescu <dann@ics.uci.edu>
Subject: Problem report #12
Date: Sat, 08 Apr 2006 23:59:51 -0700	[thread overview]
Message-ID: <200604090659.k396xpct005556@scanner2.ics.uci.edu> (raw)


ERROR
CID: 12
Checker: FORWARD_NULL (help)
File: emacs/src/dispnew.c
Function: adjust_glyph_matrix
Description: Variable "w" tracked as NULL was dereferenced.

Event var_compare_op: Added "w" due to comparison "w != 0"
Also see events: [var_deref_op]
At conditional (1): "w != 0" taking false path

631  	  if (w)
632  	    {
633  	      window_box (w, -1, 0, 0, &window_width, &window_height);
634  	
635  	      header_line_p = WINDOW_WANTS_HEADER_LINE_P (w);
636  	      header_line_changed_p = header_line_p != matrix->header_line_p;
637  	    }
638  	  matrix->header_line_p = header_line_p;
639  	
640  	  /* If POOL is null, MATRIX is a window matrix for window-based redisplay.
641  	     Do nothing if MATRIX' size, position, vscroll, and marginal areas
642  	     haven't changed.  This optimization is important because preserving
643  	     the matrix means preventing redisplay.  */

At conditional (2): "(matrix)->pool == 0" taking true path

644  	  if (matrix->pool == NULL)
645  	    {

Event var_deref_op: Variable "w" tracked as NULL was dereferenced.
Also see events: [var_compare_op]

646  	      left = margin_glyphs_to_reserve (w, dim.width, w->left_margin_cols);
647  	      right = margin_glyphs_to_reserve (w, dim.width, w->right_margin_cols);
648  	      xassert (left >= 0 && right >= 0);
649  	      marginal_areas_changed_p = (left != matrix->left_margin_glyphs
650  					  || right != matrix->right_margin_glyphs);

             reply	other threads:[~2006-04-09  6:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-09  6:59 Dan Nicolaescu [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-04-11 15:49 Problem report #12 Dan Nicolaescu
2006-04-11 17:02 ` Stuart D. Herring

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200604090659.k396xpct005556@scanner2.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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).