Update source to v6.8.18240.20051

Previous source was actually for 6.1...
This commit is contained in:
Will Pearson
2018-09-15 11:26:15 -07:00
committed by Bozo
parent 0ae09c4811
commit 5f462fed0d
124 changed files with 27735 additions and 4925 deletions

View File

@@ -265,6 +265,9 @@ ON_SHA1_Hash ON_SHA1_Hash::StringHash(
ON__UINT64& byte_count
)
{
// Do not permit corrupt strings to crash this code.
str.IsValid(false);
return ON_SHA1_Hash::StringHash(
static_cast<const wchar_t*>(str),
(size_t)str.Length(),
@@ -332,6 +335,9 @@ ON_SHA1_Hash ON_SHA1_Hash::StringHash(
ON__UINT64& byte_count
)
{
// Do not permit corrupt strings to crash this code.
str.IsValid(false);
return ON_SHA1_Hash::StringHash(
static_cast<const char*>(str),
(size_t)str.Length(),