diff options
author | Charles Krinke | 2008-07-31 15:11:44 +0000 |
---|---|---|
committer | Charles Krinke | 2008-07-31 15:11:44 +0000 |
commit | 1f7fde9436c44a0842897a0e0de2228259a54d4d (patch) | |
tree | 27d54712519cceeef6070bb06680ac62b848e1dd /OpenSim/Region/ScriptEngine/Shared | |
parent | Thank you, HomerHorwitz, for a patch that implements llSetCameraParams/llClea... (diff) | |
download | opensim-SC_OLD-1f7fde9436c44a0842897a0e0de2228259a54d4d.zip opensim-SC_OLD-1f7fde9436c44a0842897a0e0de2228259a54d4d.tar.gz opensim-SC_OLD-1f7fde9436c44a0842897a0e0de2228259a54d4d.tar.bz2 opensim-SC_OLD-1f7fde9436c44a0842897a0e0de2228259a54d4d.tar.xz |
Mantis#1868. Thank you kindly, HomerHorwitz for a patch that:
0001868: llXorBase64StringsCorrect leads to error if second string
shorter than first which was an off by one error.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index dadad02..e5c6ac1 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -6834,7 +6834,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
6834 | ret += src1[i] ^ src2[c]; | 6834 | ret += src1[i] ^ src2[c]; |
6835 | 6835 | ||
6836 | c++; | 6836 | c++; |
6837 | if (c > src2.Length) | 6837 | if (c >= src2.Length) |
6838 | c = 0; | 6838 | c = 0; |
6839 | } | 6839 | } |
6840 | return llStringToBase64(ret); | 6840 | return llStringToBase64(ret); |