Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 264594
Collapse All | Expand All

(-)a/jbig2_symbol_dict.c (-1 / +9 lines)
Lines 696-701 jbig2_decode_symbol_dict(Jbig2Ctx *ctx, Link Here
696
        exrunlength = params->SDNUMEXSYMS;
696
        exrunlength = params->SDNUMEXSYMS;
697
      else
697
      else
698
        code = jbig2_arith_int_decode(IAEX, as, &exrunlength);
698
        code = jbig2_arith_int_decode(IAEX, as, &exrunlength);
699
      if (exrunlength > params->SDNUMEXSYMS - j) {
700
        jbig2_error(ctx, JBIG2_SEVERITY_FATAL, segment->number,
701
          "runlength too large in export symbol table (%d > %d - %d)\n",
702
          exrunlength, params->SDNUMEXSYMS, j);
703
        jbig2_sd_release(ctx, SDEXSYMS);
704
        /* skip to the cleanup code and return SDEXSYMS = NULL */
705
        SDEXSYMS = NULL;
706
        break;
707
      }
699
      for(k = 0; k < exrunlength; k++)
708
      for(k = 0; k < exrunlength; k++)
700
        if (exflag) {
709
        if (exflag) {
701
          SDEXSYMS->glyphs[j++] = (i < m) ?
710
          SDEXSYMS->glyphs[j++] = (i < m) ?
702
- 

Return to bug 264594