projects
/
silc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c94186
)
updates.
author
Pekka Riikonen
<priikone@silcnet.org>
Mon, 22 Apr 2002 09:14:46 +0000
(09:14 +0000)
committer
Pekka Riikonen
<priikone@silcnet.org>
Mon, 22 Apr 2002 09:14:46 +0000
(09:14 +0000)
lib/silccore/silcid.c
patch
|
blob
|
history
diff --git
a/lib/silccore/silcid.c
b/lib/silccore/silcid.c
index 57524d36af8addbbab813db00bb24c59cea79143..6e892c087b2a8dedb675bbf4206408873fe48637 100644
(file)
--- a/
lib/silccore/silcid.c
+++ b/
lib/silccore/silcid.c
@@
-67,7
+67,7
@@
SilcIDPayload silc_id_payload_parse(const unsigned char *payload,
silc_buffer_pull(&buffer, 4);
- if (newp->len > buffer.len
- 4
|| newp->len > SILC_PACKET_MAX_ID_LEN)
+ if (newp->len > buffer.len || newp->len > SILC_PACKET_MAX_ID_LEN)
goto err;
ret = silc_buffer_unformat(&buffer,