> - if (subtable_record == NULL) > + if (!subtable_record || !x_ppem || !y_ppem) > return false;
is the real fix. The other changes are no-op. Regards, Konstantin 2017-08-10 8:43 GMT+04:00 Martin Hosken <mhos...@gmail.com>: > Dear Behdad, > > > - if (buffer == NULL) > > + if (!buffer) > > Always wanting to learn. How does this cause a divide by zero? Or what led > you to make the change? > > TIA, > Martin > _______________________________________________ > HarfBuzz mailing list > HarfBuzz@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/harfbuzz > <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> Без вирусов. www.avast.ru <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
_______________________________________________ HarfBuzz mailing list HarfBuzz@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/harfbuzz