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
|
|
@ -784,7 +784,7 @@ cairo_font_face_t* ScaledFontMac::CreateCairoFontFace(
|
|||
|
||||
already_AddRefed<UnscaledFont> UnscaledFontMac::CreateFromFontDescriptor(
|
||||
const uint8_t* aData, uint32_t aDataLength, uint32_t aIndex) {
|
||||
if (aDataLength == 0) {
|
||||
if (aDataLength == 0 || aIndex > aDataLength) {
|
||||
gfxWarning() << "Mac font descriptor is truncated.";
|
||||
return nullptr;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue