summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/analysis/db/misc/rlestr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/analysis/db/misc/rlestr.c b/src/analysis/db/misc/rlestr.c
index b93304b..a211723 100644
--- a/src/analysis/db/misc/rlestr.c
+++ b/src/analysis/db/misc/rlestr.c
@@ -285,7 +285,7 @@ bool unpack_rle_string(rle_string *str, packed_buffer_t *pbuf)
result = unpack_uleb128(&len, pbuf);
- if (result && str->length > 0)
+ if (result && len > 0)
{
str->length = len;