all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Paul Eggert <eggert@cs.ucla.edu>
To: Richard Copley <rcopley@gmail.com>
Cc: Eli Zaretskii <eliz@gnu.org>, Emacs Development <emacs-devel@gnu.org>
Subject: Re: C warning in MSYS2 build
Date: Thu, 5 Oct 2017 15:44:36 -0700	[thread overview]
Message-ID: <cd3263c3-87a3-1c64-f472-3c29b5bd0d57@cs.ucla.edu> (raw)
In-Reply-To: <CAPM58oiHS+-52PenZJunFSX2Qw6i03=Yu56kPJ+_sYWBSe6xAA@mail.gmail.com>

On 10/05/2017 01:08 PM, Richard Copley wrote:
> FWIW it seems to me that the results of the buffer_display_table calls
> in c_string_width and lisp_string_width are dereferenced unchecked,
> in character.c.

I don't see how those two functions dereference the results. Although 
they do pass results to char_width, char_width has a run-time check that 
prevents dereferencing the results when null.




  reply	other threads:[~2017-10-05 22:44 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-05 17:44 C warning in MSYS2 build Richard Copley
2017-10-05 18:54 ` Eli Zaretskii
2017-10-05 19:32   ` Paul Eggert
2017-10-05 20:08     ` Richard Copley
2017-10-05 22:44       ` Paul Eggert [this message]
2017-10-06 15:16     ` Richard Stallman
2017-10-06 17:23       ` Richard Copley

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

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

  git send-email \
    --in-reply-to=cd3263c3-87a3-1c64-f472-3c29b5bd0d57@cs.ucla.edu \
    --to=eggert@cs.ucla.edu \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=rcopley@gmail.com \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.