From db490036603c0ce98faaacc14a9f7b0381ed7c35 Mon Sep 17 00:00:00 2001 From: Dave Gosselin Date: Tue, 15 Apr 2025 06:40:45 -0400 Subject: [PATCH] Initialize pointers to avoid MSAN warnings --- sql/spatial.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/spatial.cc b/sql/spatial.cc index 15236f4b132..c298f058515 100644 --- a/sql/spatial.cc +++ b/sql/spatial.cc @@ -2173,7 +2173,7 @@ int Gis_polygon::is_valid(int *valid) const MBR mbr; uint32 num_rings; const char *c_end; - char *border_count, *touches_count, *internals; + char *border_count= nullptr, *touches_count= nullptr, *internals= nullptr; int result= 0; *valid= 0;