all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Paul Eggert <eggert@cs.ucla.edu>
Cc: 9079@debbugs.gnu.org
Subject: bug#9079: integer overflow etc. issues (e.g., image crashes Emacs)
Date: Fri, 15 Jul 2011 08:46:43 +0300	[thread overview]
Message-ID: <83aacghz98.fsf@gnu.org> (raw)
In-Reply-To: <4E1F675E.1020907@cs.ucla.edu>

> Date: Thu, 14 Jul 2011 15:02:06 -0700
> From: Paul Eggert <eggert@cs.ucla.edu>
> CC: 9079@debbugs.gnu.org
> 
> OK, here's an updated version of the bidi.c part of that patch,
> reflecting the bidi changes just made to the trunk.

Thanks.  But why is it a good idea to use ptrdiff_t instead of
EMACS_INT?  I used EMACS_INT for a reason, not just because I needed a
wider type: the bidi cache can never be longer than the longest Lisp
string or buffer.  So having a cache longer than that is already a
bug, and we should announce memory full when a Lisp integer overflows.





  reply	other threads:[~2011-07-15  5:46 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-14  7:55 bug#9079: integer overflow etc. issues (e.g., image crashes Emacs) Paul Eggert
2011-07-14  8:22 ` Andreas Schwab
2011-07-14 16:15   ` Paul Eggert
2011-07-14  8:47 ` Eli Zaretskii
2011-07-14 16:23   ` Paul Eggert
2011-07-14 17:48     ` Eli Zaretskii
2011-07-14 22:02   ` Paul Eggert
2011-07-15  5:46     ` Eli Zaretskii [this message]
2011-07-15  7:22       ` Paul Eggert
2011-07-14 12:54 ` Leo
     [not found] ` <handler.9079.B.13106301884386.ack@debbugs.gnu.org>
2011-07-28  0:49   ` bug#9079: Acknowledgement (integer overflow etc. issues (e.g., image crashes Emacs)) Paul Eggert

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=83aacghz98.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=9079@debbugs.gnu.org \
    --cc=eggert@cs.ucla.edu \
    /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.