summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lzf_c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lzf_c.c b/lzf_c.c
index 63cf26a..99dab09 100644
--- a/lzf_c.c
+++ b/lzf_c.c
@@ -226,7 +226,7 @@ lzf_compress (const void *const in_data, unsigned int in_len,
ip += len + 1;
- if (expect_false (ip > in_end - 2))
+ if (expect_false (ip >= in_end - 2))
break;
#if ULTRA_FAST || VERY_FAST