aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/framing_dynamic32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/framing_dynamic32.c b/plugins/framing_dynamic32.c
index 3b66588..e1394e7 100644
--- a/plugins/framing_dynamic32.c
+++ b/plugins/framing_dynamic32.c
@@ -53,7 +53,7 @@ static int64_t framing_dynamic32(uint8_t* data, size_t length, size_t last_read,
*framing_data = NULL;
}
- if(length > conncfg->offset + 4){
+ if(length >= conncfg->offset + 4){
//read size field
size_p = (uint32_t*) (data + conncfg->offset);
size = le32toh(*size_p);