guile-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Guile-commits] GNU Guile branch, master, updated. release_1-9-2-18-g53a


From: Michael Gran
Subject: [Guile-commits] GNU Guile branch, master, updated. release_1-9-2-18-g53a468d
Date: Thu, 20 Aug 2009 15:15:48 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Guile".

http://git.savannah.gnu.org/cgit/guile.git/commit/?id=53a468dd8c2d8a6552b1b7ed4025414fc219d21d

The branch, master has been updated
       via  53a468dd8c2d8a6552b1b7ed4025414fc219d21d (commit)
      from  f846bd1a8f0e0d366fb8bb6944598641bc3dd246 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 53a468dd8c2d8a6552b1b7ed4025414fc219d21d
Author: Michael Gran <address@hidden>
Date:   Thu Aug 20 07:23:22 2009 -0700

    type limits error in string-tabulate
    
    * libguile/srfi-13.c (scm_string_tabulate): test range of signed integer
      before casting it to unsigned size_t

-----------------------------------------------------------------------

Summary of changes:
 libguile/srfi-13.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libguile/srfi-13.c b/libguile/srfi-13.c
index 1eb4563..4faa377 100644
--- a/libguile/srfi-13.c
+++ b/libguile/srfi-13.c
@@ -227,8 +227,8 @@ SCM_DEFINE (scm_string_tabulate, "string-tabulate", 2, 0, 0,
   proc_tramp = scm_trampoline_1 (proc);
   SCM_ASSERT (proc_tramp, proc, SCM_ARG1, FUNC_NAME);
 
+  SCM_ASSERT_RANGE (2, len, scm_to_int (len) >= 0);
   clen = scm_to_size_t (len);
-  SCM_ASSERT_RANGE (2, len, clen >= 0);
 
   {
     /* This function is more complicated than necessary for the sake


hooks/post-receive
-- 
GNU Guile




reply via email to

[Prev in Thread] Current Thread [Next in Thread]