icecat: add release icecat-140.9.0-1gnu1 for aramo
This commit is contained in:
parent
d570f39e11
commit
9b41efc5d4
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