From 5c69f83c9629e9df935bd79b816a03669e78c46f Mon Sep 17 00:00:00 2001 From: Marcelo Fernandez Date: Sun, 22 Jul 2018 17:41:50 -0300 Subject: [PATCH] Fix possible crash at NativeScript::get_base_script (cherry picked from commit 77f3c0b4958785c06eead36bdad79b778c5be495) --- modules/gdnative/nativescript/nativescript.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/gdnative/nativescript/nativescript.cpp b/modules/gdnative/nativescript/nativescript.cpp index ced60acac47..50e70a8bb1d 100644 --- a/modules/gdnative/nativescript/nativescript.cpp +++ b/modules/gdnative/nativescript/nativescript.cpp @@ -150,7 +150,10 @@ Ref