diff options
author | Justin Clark-Casey (justincc) | 2013-02-07 00:15:50 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2013-02-07 00:15:50 +0000 |
commit | e2c1e37b077bad2d1b6d0ac5277c3f9001d819dd (patch) | |
tree | 4fbf4616152b5b86df79e178d104b569b43ba419 | |
parent | BulletSim: check for completely degenerate meshes (ones with all (diff) | |
download | opensim-SC-e2c1e37b077bad2d1b6d0ac5277c3f9001d819dd.zip opensim-SC-e2c1e37b077bad2d1b6d0ac5277c3f9001d819dd.tar.gz opensim-SC-e2c1e37b077bad2d1b6d0ac5277c3f9001d819dd.tar.bz2 opensim-SC-e2c1e37b077bad2d1b6d0ac5277c3f9001d819dd.tar.xz |
Add key length validation to DAMap.Add(KeyValuePair<string, OSDMap> kvp) to match Add(string key, OSDMap store)
-rw-r--r-- | OpenSim/Framework/DAMap.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Framework/DAMap.cs b/OpenSim/Framework/DAMap.cs index 291c8b8..dd9c61b 100644 --- a/OpenSim/Framework/DAMap.cs +++ b/OpenSim/Framework/DAMap.cs | |||
@@ -188,7 +188,8 @@ namespace OpenSim.Framework | |||
188 | } | 188 | } |
189 | 189 | ||
190 | public void Add(KeyValuePair<string, OSDMap> kvp) | 190 | public void Add(KeyValuePair<string, OSDMap> kvp) |
191 | { | 191 | { |
192 | ValidateKey(kvp.Key); | ||
192 | lock (this) | 193 | lock (this) |
193 | m_map.Add(kvp.Key, kvp.Value); | 194 | m_map.Add(kvp.Key, kvp.Value); |
194 | } | 195 | } |