icecat: add release icecat-140.9.0-1gnu1 for ecne
This commit is contained in:
parent
8eb1f1732f
commit
a5f93cb214
1197 changed files with 30593 additions and 15344 deletions
|
|
@ -568,7 +568,7 @@ void AudioData::CopyTo(const AllowSharedBufferSource& aDestination,
|
|||
uint32_t bytesPerSample = BytesPerSamples(destFormat.value());
|
||||
CheckedInt<uint32_t> copyLength = bytesPerSample;
|
||||
copyLength *= copyElementCount;
|
||||
if (copyLength.value() > destLength) {
|
||||
if (!copyLength.isValid() || copyLength.value() > destLength) {
|
||||
auto msg = nsFmtCString(FMT_STRING("destination buffer of length {} too "
|
||||
"small for copying {} elements"),
|
||||
destLength, bytesPerSample * copyElementCount);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue