You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Building with Clang 5 and -fsanitize=address,undefined will cause the test to fail with this error:
external/protobuf_bzl/src/google/protobuf/descriptor.cc:4167:12: runtime error: null pointer passed as argument 1, which is declared to never be null
/usr/include/string.h:62:62: note: nonnull attribute specified here
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior external/protobuf_bzl/src/google/protobuf/descriptor.cc:4167:12 in
This was discovered in the Envoy test suite (envoyproxy/envoy#1682).
Given the following test body:
Building with Clang 5 and
-fsanitize=address,undefined
will cause the test to fail with this error:descriptor.cc:4167
is a call tomemset()
:If
proto.dependency_size()
is 0 and lazy building is enabled,tables_->AllocateArray(0)
is called (returningNULL
) .The text was updated successfully, but these errors were encountered: