[git] GnuPG - branch, master, updated. gnupg-2.1.9-92-g18cd092

by Neal H. Walfield cvs at cvs.gnupg.org
Sat Oct 31 01:54:10 CET 2015


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 "The GNU Privacy Guard".

The branch, master has been updated
       via  18cd09246f5dcddcafb8662afd84fa046e36de3f (commit)
      from  d89a9fca46d9bba497dde0793b57217c800b0e8d (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 18cd09246f5dcddcafb8662afd84fa046e36de3f
Author: Neal H. Walfield <neal at g10code.com>
Date:   Sat Oct 31 01:49:32 2015 +0100

    gpg: Consider newlines to be whitespace in an SQL statement.
    
    * g10/sqlite.c (sqlite3_stepx): When making sure that there is no
    second SQL statement, ignore newlines.
    
    --
    Signed-off-by: Neal H. Walfield <neal at g10code.com>

diff --git a/g10/sqlite.c b/g10/sqlite.c
index ee7514c..04f15d9 100644
--- a/g10/sqlite.c
+++ b/g10/sqlite.c
@@ -105,7 +105,7 @@ sqlite3_stepx (sqlite3 *db,
       /* We can only process a single statement.  */
       if (tail)
         {
-          while (*tail == ' ' || *tail == ';')
+          while (*tail == ' ' || *tail == ';' || *tail == '\n')
             tail ++;
 
           if (*tail)

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

Summary of changes:
 g10/sqlite.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
The GNU Privacy Guard
http://git.gnupg.org




More information about the Gnupg-commits mailing list