From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Paul Eggert <eggert@cs.ucla.edu>
Cc: Kazuhiro Ito <kzhr@d1.dion.ne.jp>, 8751@debbugs.gnu.org
Subject: bug#8751: 24.0.50; CCL is broken
Date: Mon, 30 May 2011 13:01:51 -0300 [thread overview]
Message-ID: <jwvmxi418l4.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <20110528124948.470A6360038@msa102.auone-net.jp> (Kazuhiro Ito's message of "Sat, 28 May 2011 21:49:35 +0900")
Paul, can you take a look at this? It seems this was introduced very
recently, probably by
* ccl.c (ccl_driver): Redo slightly to avoid the need for 'unsigned'.
ccl: add integer overflow checks
* ccl.c (CCL_CODE_MAX, GET_CCL_RANGE, GET_CCL_CODE, GET_CCL_INT):
(IN_INT_RANGE): New macros.
(ccl_driver): Use them to check for integer overflow when
decoding a CCL program. Many of the new checks are whether XINT (x)
fits in int; it doesn't always, on 64-bit hosts. The new version
doesn't catch all possible integer overflows, but it's an
improvement. (Bug#8719)
-- Stefan
>>>>> "Kazuhiro" == Kazuhiro Ito <kzhr@d1.dion.ne.jp> writes:
> Below code raises error "Error in CCL program at 4th code" on trunk.
> (progn
> (define-ccl-program ccl-test
> '(1 (loop
> (read r0)
> (write-repeat r0))))
> (ccl-execute-on-string 'ccl-test (make-vector 9 0) "_"))
> --
> Kazuhiro Ito
prev parent reply other threads:[~2011-05-30 16:01 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-28 12:49 bug#8751: 24.0.50; CCL is broken Kazuhiro Ito
2011-05-30 13:09 ` Kazuhiro Ito
2011-05-30 16:04 ` Stefan Monnier
2011-05-30 23:26 ` Kazuhiro Ito
2011-05-31 2:16 ` bug#8719: " Paul Eggert
2011-05-31 5:12 ` Kenichi Handa
2011-05-31 5:39 ` Paul Eggert
2011-05-30 16:01 ` Stefan Monnier [this message]
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=jwvmxi418l4.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=8751@debbugs.gnu.org \
--cc=eggert@cs.ucla.edu \
--cc=kzhr@d1.dion.ne.jp \
/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).