projects
/
dragonfly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
6d83fff
)
libdmsg: Fix pointer dereference.
author
Sascha Wildner <saw@online.de>
Sat, 23 Feb 2013 01:31:06 +0000 (
02:31
+0100)
committer
Sascha Wildner <saw@online.de>
Sat, 23 Feb 2013 01:31:06 +0000 (
02:31
+0100)
lib/libdmsg/crypto.c
patch
|
blob
|
blame
|
history
diff --git
a/lib/libdmsg/crypto.c
b/lib/libdmsg/crypto.c
index
9379326
..
88e48e3
100644
(file)
--- a/
lib/libdmsg/crypto.c
+++ b/
lib/libdmsg/crypto.c
@@
-191,7
+191,7
@@
_gcm_iv_increment(char *iv)
* Detect wrap-around, which means it is time to renegotiate
* the session to get a new key and/or fixed field.
*/
- return (c == 0) ? 0 : 1;
+ return (*c == 0) ? 0 : 1;
}
static