pspp-commits
[Top][All Lists]
Advanced

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

[Pspp-commits] [SCM] GNU PSPP branch, master, updated. v0.7.9-226-g5841c


From: Ben Pfaff
Subject: [Pspp-commits] [SCM] GNU PSPP branch, master, updated. v0.7.9-226-g5841c34
Date: Sun, 06 May 2012 15:09:07 +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 PSPP".

The branch, master has been updated
       via  5841c349770a82f091e77dfe90fd68eee6032f66 (commit)
       via  0838c7ce8528a241fd6bb422767e187af4b5d9a7 (commit)
      from  6fb50290892e920da3af95489bafe74541e55198 (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 5841c349770a82f091e77dfe90fd68eee6032f66
Author: Ben Pfaff <address@hidden>
Date:   Sun May 6 08:06:57 2012 -0700

    gui: Make lex_gtk_text_buffer_read() count bytes, not characters.
    
    The N parameter to lex_gtk_text_buffer_read() is a count of bytes,
    but the implementation treated it as characters.
    
    Also fixes a memory leak, since gtk_text_iter_get_text()'s caller
    is responsible for freeing the memory that it returns.
    
    Reported by Alle <address@hidden>.
    First investigated by John Darrington <address@hidden>.
    Reviewed by John Darrington <address@hidden>.

commit 0838c7ce8528a241fd6bb422767e187af4b5d9a7
Author: Ben Pfaff <address@hidden>
Date:   Sat May 5 22:07:34 2012 -0700

    lexer: Check that 'read' function in lex_source returns valid value.
    
    A 'read' function may only read as many bytes as the size of the
    buffer passed into it, but the caller didn't check, which made an
    actual violation of this invariant hard to diagnose.

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

Summary of changes:
 src/language/lexer/lexer.c      |    6 +++-
 src/ui/gui/psppire-lex-reader.c |   54 ++++++++++++++++++++++++++++----------
 2 files changed, 45 insertions(+), 15 deletions(-)


hooks/post-receive
-- 
GNU PSPP



reply via email to

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