From 709cb7e63382be9d0362acd0499931d5a125b851 Mon Sep 17 00:00:00 2001 From: Oli Lenehan Date: Thu, 11 Jan 2024 16:14:48 +1100 Subject: [PATCH] fix: multi value column type guard --- libesedb/libesedb_multi_value.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libesedb/libesedb_multi_value.c b/libesedb/libesedb_multi_value.c index f956e2d6..17eb57d9 100644 --- a/libesedb/libesedb_multi_value.c +++ b/libesedb/libesedb_multi_value.c @@ -1545,8 +1545,8 @@ int libesedb_multi_value_get_value_binary_data( return( -1 ); } - if( ( column_type != LIBESEDB_COLUMN_TYPE_TEXT ) - && ( column_type != LIBESEDB_COLUMN_TYPE_LARGE_TEXT ) ) + if( ( column_type != LIBESEDB_COLUMN_TYPE_BINARY_DATA ) + && ( column_type != LIBESEDB_COLUMN_TYPE_LARGE_BINARY_DATA ) ) { libcerror_error_set( error,