projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
092474d
)
* client_read_sslblob(): don't leave CC->Pos on an invalid position
author
Wilfried Göesgens
<willi@citadel.org>
Wed, 17 Mar 2010 19:14:29 +0000
(19:14 +0000)
committer
Wilfried Göesgens
<willi@citadel.org>
Wed, 17 Mar 2010 19:14:29 +0000
(19:14 +0000)
citadel/modules/crypto/serv_crypto.c
patch
|
blob
|
history
diff --git
a/citadel/modules/crypto/serv_crypto.c
b/citadel/modules/crypto/serv_crypto.c
index f323be662c65c0150ec5ef9744095b581f140a1f..5ba6ffc5684711e2cef3616322604aae42241154 100644
(file)
--- a/
citadel/modules/crypto/serv_crypto.c
+++ b/
citadel/modules/crypto/serv_crypto.c
@@
-539,6
+539,7
@@
int client_read_sslblob(StrBuf *Target, long bytes, int timeout)
bufremain = bytes;
StrBufAppendBufPlain(Target, CCC->Pos, bufremain, 0);
StrBufCutLeft(CCC->ReadBuf, bufremain);
+ CCC->Pos = NULL;
if (bytes > bufremain)
{