[Coverage] Minor access arrayZ directly in a couple places

pull/4230/head
Behdad Esfahbod 2 years ago
parent c0e6a96af3
commit 2f05c32c36
  1. 4
      src/OT/Layout/Common/CoverageFormat2.hh

@ -192,8 +192,8 @@ struct CoverageFormat2_4
if (__more__ ())
{
unsigned int old = coverage;
j = c->rangeRecord[i].first;
coverage = c->rangeRecord[i].value;
j = c->rangeRecord.arrayZ[i].first;
coverage = c->rangeRecord.arrayZ[i].value;
if (unlikely (coverage != old + 1))
{
/* Broken table. Skip. Important to avoid DoS.

Loading…
Cancel
Save