Fix for DEV-45609 "CID-47 and CID-154 - bogus allocation/memset in Quicktime plugin"
(Fixed line endings for commit hook) Reviewed by Rick.meow-7.2.2
parent
20694367c2
commit
9c608d4db5
|
|
@ -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 )
|
||||
|
|
|
|||
Loading…
Reference in New Issue