icecat: add release icecat-140.10.1-1gnu1 for ecne

This commit is contained in:
Ark74 2026-05-04 16:58:41 -06:00
parent a5f93cb214
commit ff85d7c623
1256 changed files with 63469 additions and 24141 deletions

View file

@ -83,9 +83,11 @@ bool SourceSurfaceSharedDataWrapper::EnsureMapped() {
auto computedStride =
CheckedInt<int32_t>(mSize.width) * BytesPerPixel(mFormat);
auto computedLength = CheckedInt<int32_t>(mSize.height) * mStride;
if (mSize.width < 0 || mSize.height < 0 || mStride < 0 ||
!computedStride.isValid() || mStride < computedStride.value() ||
!image::SurfaceCache::IsLegalSize(mSize) ||
!computedStride.isValid() || computedStride.value() <= 0 ||
mStride < computedStride.value() || !computedLength.isValid() ||
computedLength.value() <= 0 || !image::SurfaceCache::IsLegalSize(mSize) ||
mBufHandle.Size() < GetAlignedDataLength()) {
return false;
}