diff options
author | Sam Clegg <sbc@chromium.org> | 2017-11-28 16:46:41 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-28 16:46:41 -0800 |
commit | b3a971b43a0a6fa4d15decb6d55a192b00723fa8 (patch) | |
tree | db6315d9df60baf88ee0d42eb8d53b8c507af203 /src/tools/spectest-interp.cc | |
parent | cd5a893ccc93628569d39c36e4366c5dc5d48068 (diff) | |
download | wabt-b3a971b43a0a6fa4d15decb6d55a192b00723fa8.tar.gz wabt-b3a971b43a0a6fa4d15decb6d55a192b00723fa8.tar.bz2 wabt-b3a971b43a0a6fa4d15decb6d55a192b00723fa8.zip |
Fix ubsan build and remove workaround in favor of ubsan.blacklist (#678)
Diffstat (limited to 'src/tools/spectest-interp.cc')
-rw-r--r-- | src/tools/spectest-interp.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/spectest-interp.cc b/src/tools/spectest-interp.cc index 8779f44f..c461b827 100644 --- a/src/tools/spectest-interp.cc +++ b/src/tools/spectest-interp.cc @@ -1081,7 +1081,7 @@ static wabt::Result ReadModule(const char* module_filename, const bool kStopOnFirstError = true; ReadBinaryOptions options(s_features, s_log_stream.get(), kReadDebugNames, kStopOnFirstError); - result = ReadBinaryInterp(env, DataOrNull(file_data), file_data.size(), + result = ReadBinaryInterp(env, file_data.data(), file_data.size(), &options, error_handler, out_module); if (Succeeded(result)) { |