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-159-g06


From: Michael Gran
Subject: [Guile-commits] GNU Guile branch, master, updated. release_1-9-2-159-g060e305
Date: Sat, 05 Sep 2009 18:14:03 +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=060e305adcb5a80dba8bf137dc3d61151d1c0dff

The branch, master has been updated
       via  060e305adcb5a80dba8bf137dc3d61151d1c0dff (commit)
      from  8748ffeaa770ed47192f970ef5302a7c7aa7a935 (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 060e305adcb5a80dba8bf137dc3d61151d1c0dff
Author: Michael Gran <address@hidden>
Date:   Sat Sep 5 11:10:07 2009 -0700

    Avoid string buffer overrun in scm_scan_for_encoding
    
    * libguile/read.c (scm_scan_for_encoding): possible overrun if
      coding declaration is at end of file

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

Summary of changes:
 libguile/read.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/libguile/read.c b/libguile/read.c
index 269e96b..07c8d71 100644
--- a/libguile/read.c
+++ b/libguile/read.c
@@ -1446,6 +1446,7 @@ scm_scan_for_encoding (SCM port)
   /* grab the next token */
   i = 0;
   while (pos + i - header <= SCM_ENCODING_SEARCH_SIZE 
+         && pos + i - header < bytes_read
         && (isalnum((int) pos[i]) || pos[i] == '_' || pos[i] == '-' 
              || pos[i] == '.'))
     i++;


hooks/post-receive
-- 
GNU Guile




reply via email to

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