icecat: add release icecat-140.9.0-1gnu1 for aramo

This commit is contained in:
Ark74 2026-03-28 11:40:33 -06:00
parent d570f39e11
commit 9b41efc5d4
1197 changed files with 30593 additions and 15344 deletions

View file

@ -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);