summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--indra/lscript/lscript_execute/lscript_execute.cpp8
-rw-r--r--install.xml4
2 files changed, 7 insertions, 5 deletions
diff --git a/indra/lscript/lscript_execute/lscript_execute.cpp b/indra/lscript/lscript_execute/lscript_execute.cpp
index fe2167aec8..6f1c2158d5 100644
--- a/indra/lscript/lscript_execute/lscript_execute.cpp
+++ b/indra/lscript/lscript_execute/lscript_execute.cpp
@@ -4047,7 +4047,8 @@ void lscript_pop_variable(LLScriptLibData *data, U8 *buffer, char type)
break;
case 'k':
data->mType = LST_KEY;
-
+ data->mKey = NULL;
+
base_address = lscript_pop_int(buffer);
// this bit of nastiness is to get around that code paths to local variables can result in lack of initialization
// and function clean up of ref counts isn't based on scope (a mistake, I know)
@@ -4066,7 +4067,7 @@ void lscript_pop_variable(LLScriptLibData *data, U8 *buffer, char type)
}
lsa_decrease_ref_count(buffer, base_address);
}
- else
+ if (data->mKey == NULL)
{
data->mKey = new char[1];
data->mKey[0] = 0;
@@ -4074,6 +4075,7 @@ void lscript_pop_variable(LLScriptLibData *data, U8 *buffer, char type)
break;
case 's':
data->mType = LST_STRING;
+ data->mString = NULL;
base_address = lscript_pop_int(buffer);
// this bit of nastiness is to get around that code paths to local variables can result in lack of initialization
@@ -4093,7 +4095,7 @@ void lscript_pop_variable(LLScriptLibData *data, U8 *buffer, char type)
}
lsa_decrease_ref_count(buffer, base_address);
}
- else
+ if (data->mString == NULL)
{
data->mString = new char[1];
data->mString[0] = 0;
diff --git a/install.xml b/install.xml
index 50f65c7057..f36aced73d 100644
--- a/install.xml
+++ b/install.xml
@@ -601,9 +601,9 @@ anguage Infrstructure (CLI) international standard</string>
<key>linux</key>
<map>
<key>md5sum</key>
- <string>df73b95b0980e631ba1ecd930120699f</string>
+ <string>9bc0f8b7d5e0ff194b6d5635daf9ae3a</string>
<key>url</key>
- <uri>http://s3.amazonaws.com/viewer-source-downloads/install_pkgs/libmono-linux-20080722.tar.bz2</uri>
+ <uri>http://s3.amazonaws.com/viewer-source-downloads/install_pkgs/libmono-1.2.6-linux-20080816a.tar.bz2</uri>
</map>
<key>windows</key>
<map>