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=b349875146af814dbeac07e96b043a3a3996b7cd The branch, master has been updated via b349875146af814dbeac07e96b043a3a3996b7cd (commit) from 3323ec063ccc87b210e6da04c57c625af270b230 (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 b349875146af814dbeac07e96b043a3a3996b7cd Author: Michael Gran <spk...@yahoo.com> Date: Sun Dec 27 18:44:29 2009 -0800 Incorrect indexing into character name list When converting a character into a character name, an incorrect character name could theoretically have been returned. * libguile/chars.c (scm_i_charname): used wrong index into scm_alt_charnames ----------------------------------------------------------------------- Summary of changes: libguile/chars.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/libguile/chars.c b/libguile/chars.c index 16a2b90..49c1ea3 100644 --- a/libguile/chars.c +++ b/libguile/chars.c @@ -577,9 +577,11 @@ scm_i_charname (SCM chr) if (scm_C0_control_charnums[c] == i) return scm_C0_control_charnames[c]; + /* Since the characters in scm_alt_charnums is a subset of + scm_C0_control_charnums, this code is never reached. */ for (c = 0; c < SCM_N_ALT_CHARNAMES; c++) if (scm_alt_charnums[c] == i) - return scm_alt_charnames[i]; + return scm_alt_charnames[c]; return NULL; } hooks/post-receive -- GNU Guile