summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorCallum Prentice <callum@lindenlab.com>2010-02-03 15:16:57 -0800
committerCallum Prentice <callum@lindenlab.com>2010-02-03 15:16:57 -0800
commit9c608d4db5909ffe2a89556996f93d4b54b50782 (patch)
treea7afa28319b838855ba22414be2faded33ca2870 /indra
parent20694367c23f36c537f99fc544b88e63f8ce6bb0 (diff)
Fix for DEV-45609 "CID-47 and CID-154 - bogus allocation/memset in Quicktime plugin"
(Fixed line endings for commit hook) Reviewed by Rick.
Diffstat (limited to 'indra')
-rw-r--r--indra/media_plugins/quicktime/media_plugin_quicktime.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/media_plugins/quicktime/media_plugin_quicktime.cpp b/indra/media_plugins/quicktime/media_plugin_quicktime.cpp
index 26690f64a6..e230fcc280 100644
--- a/indra/media_plugins/quicktime/media_plugin_quicktime.cpp
+++ b/indra/media_plugins/quicktime/media_plugin_quicktime.cpp
@@ -724,7 +724,7 @@ private:
return false;
// allocate some space and grab it
- UInt8* item_data = new UInt8[ size + 1 ];
+ UInt8* item_data = new UInt8[ size + 1 ];
memset( item_data, 0, ( size + 1 ) * sizeof( UInt8 ) );
result = QTMetaDataGetItemValue( media_data_ref, item, item_data, size, NULL );
if ( noErr != result )