[git] GPGME - branch, master, updated. gpgme-1.3.2-5-g8384ccb

by Marcus Brinkmann cvs at cvs.gnupg.org
Sat Jul 28 23:23:01 CEST 2012


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 "GnuPG Made Easy".

The branch, master has been updated
       via  8384ccbd1a51447dccbd608fc5df3c24cb8999b1 (commit)
      from  434735f71e6969248651ac01c6bd6f6789a6305d (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 8384ccbd1a51447dccbd608fc5df3c24cb8999b1
Author: Marcus Brinkmann <marcus.brinkmann at ruhr-uni-bochum.de>
Date:   Sat Jul 28 22:06:09 2012 +0200

    Fix sign error in position calculation for mem_seek.
    
    * data-mem.c (mem_seek): Fix sign error in position calculation.

diff --git a/src/data-mem.c b/src/data-mem.c
index eda695a..512c295 100644
--- a/src/data-mem.c
+++ b/src/data-mem.c
@@ -137,7 +137,7 @@ mem_seek (gpgme_data_t dh, off_t offset, int whence)
 	  gpg_err_set_errno (EINVAL);
 	  return -1;
 	}
-      dh->data.mem.offset = dh->data.mem.length - offset;
+      dh->data.mem.offset = dh->data.mem.length + offset;
       break;
     default:
       gpg_err_set_errno (EINVAL);

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

Summary of changes:
 src/data-mem.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
GnuPG Made Easy
http://git.gnupg.org




More information about the Gnupg-commits mailing list