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

(-)xpdf/Stream.cc (-1 / +1 lines)
Lines 2922-2927 GBool DCTStream::readBaselineSOF() { Link Here
2922
  numComps = str->getChar();
2922
  numComps = str->getChar();
2923
  if (numComps <= 0 || numComps > 4) {
2923
  if (numComps <= 0 || numComps > 4) {
2924
    error(getPos(), "Bad number of components in DCT stream", prec);
2924
    error(getPos(), "Bad number of components in DCT stream", prec);
2925
    numComps = 0;
2925
    return gFalse;
2926
    return gFalse;
2926
  }
2927
  }
2927
  if (prec != 8) {
2928
  if (prec != 8) {
Lines 2952-2958 GBool DCTStream::readProgressiveSOF() { Link Here
2952
  numComps = str->getChar();
2953
  numComps = str->getChar();
2953
  if (numComps <= 0 || numComps > 4) {
2954
  if (numComps <= 0 || numComps > 4) {
2954
     numComps = 0;
2955
     numComps = 0;
2955
     numComps = 0;
2956
     error(getPos(), "Bad number of components in DCT stream");
2956
     error(getPos(), "Bad number of components in DCT stream");
2957
     return gFalse;
2957
     return gFalse;
2958
  }
2958
  }

Return to bug 125621