From e74ce7e315d8939e64167e5e46498845a76fdad5 Mon Sep 17 00:00:00 2001 From: Hermet Park Date: Thu, 1 Jul 2021 17:51:10 +0900 Subject: [PATCH] sw_engine: --sanitizer errors runtime error: load of value 190, which is not a valid value for type 'bool' @Issue: https://github.com/Samsung/thorvg/issues/544 --- src/lib/sw_engine/tvgSwCommon.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/sw_engine/tvgSwCommon.h b/src/lib/sw_engine/tvgSwCommon.h index b2975429..d3c89e3b 100644 --- a/src/lib/sw_engine/tvgSwCommon.h +++ b/src/lib/sw_engine/tvgSwCommon.h @@ -217,9 +217,9 @@ struct SwShape SwFill* fill = nullptr; SwRleData* rle = nullptr; SwRleData* strokeRle = nullptr; - SwBBox bbox; //keep it boundary without stroke region. Using for optimal filling. + SwBBox bbox; //Keep it boundary without stroke region. Using for optimal filling. - bool rect; //Fast Track: Othogonal rectangle? + bool rect = false; //Fast Track: Othogonal rectangle? }; struct SwImage