diff --git a/desktop_version/src/UtilityClass.cpp b/desktop_version/src/UtilityClass.cpp index e46bec3f..12d2304d 100644 --- a/desktop_version/src/UtilityClass.cpp +++ b/desktop_version/src/UtilityClass.cpp @@ -286,6 +286,11 @@ static bool VVV_isxdigit(const unsigned char digit) bool is_positive_num(const char* str, const bool hex) { + if (str[0] == '\0') + { + return false; + } + for (size_t i = 0; str[i] != '\0'; ++i) { if (hex)