summaryrefslogtreecommitdiffstats
path: root/cloud_print
diff options
context:
space:
mode:
authortomfinegan@chromium.org <tomfinegan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-14 02:35:37 +0000
committertomfinegan@chromium.org <tomfinegan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-14 02:35:37 +0000
commit5b9d6c34051ad68bef7a859af2db8a7f60968277 (patch)
tree29e9036d6a192a3c789ce65716d34b62cc538490 /cloud_print
parent80b559c19958db9bdb36d993941670a1db809dd1 (diff)
downloadchromium_src-5b9d6c34051ad68bef7a859af2db8a7f60968277.zip
chromium_src-5b9d6c34051ad68bef7a859af2db8a7f60968277.tar.gz
chromium_src-5b9d6c34051ad68bef7a859af2db8a7f60968277.tar.bz2
Fix crash in CdmWrapper::Decrypt when there are no sub samples.
When PP_EncryptedBlockInfo has a num_subsamples of 0, CdmWrapper::Decrypt triggers a _DEBUG_ERROR in c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\vector. The Windows std::vector doesn't appear to like it much when you call operator[] on empty vectors. BUG=none TEST=CdmWrapper::Decrypt does not crash on Windows when PP_EncryptedBlockInfo has no sub samples. Review URL: https://chromiumcodereview.appspot.com/10909199 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156718 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cloud_print')
0 files changed, 0 insertions, 0 deletions