Index: lib/sanitizer_common/sanitizer_fuchsia.cc =================================================================== --- lib/sanitizer_common/sanitizer_fuchsia.cc +++ lib/sanitizer_common/sanitizer_fuchsia.cc @@ -272,7 +272,7 @@ ReportMmapFailureAndDie(map_size, name, "zx_vmo_create", status); return 0; } - _zx_object_set_property(vmo, ZX_PROP_NAME, name, sizeof(name) - 1); + _zx_object_set_property(vmo, ZX_PROP_NAME, name, internal_strlen(name)); DCHECK_GE(base + size_, map_size + offset); uintptr_t addr;