projects
/
gpgme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3e127d
)
CRASH prevention fix: Memory was overwritten if there were more than 1 email address...
author
Karl-Heinz Zimmer
<khz@kde.org>
Thu, 4 Jul 2002 00:02:19 +0000
(
00:02
+0000)
committer
Karl-Heinz Zimmer
<khz@kde.org>
Thu, 4 Jul 2002 00:02:19 +0000
(
00:02
+0000)
gpgmeplug/gpgmeplug.c
patch
|
blob
|
history
diff --git
a/gpgmeplug/gpgmeplug.c
b/gpgmeplug/gpgmeplug.c
index 7622fda682163edeaaa60cbc5cb7c80f14e2b16d..4af5ffecee1f35a93843cefdb2844ac244ed011b 100644
(file)
--- a/
gpgmeplug/gpgmeplug.c
+++ b/
gpgmeplug/gpgmeplug.c
@@
-2671,7
+2671,7
@@
bool checkMessageSignature( char** cleartext,
++UID_idx ){
if (*attr_string) {
fprintf( stderr, "gpgmeplug checkMessageSignature found email: %s\n", attr_string );
- if( sigmeta->extended_info[sig_idx].emailCount )
+ if(
!
sigmeta->extended_info[sig_idx].emailCount )
alloc_return =
malloc( sizeof( char*) );
else