Unified · Split
| @@ -178,7 +178,7 @@ jbig2_decode_text_region(Jbig2Ctx *ctx, Jbig2Segment *segment, · 177 unmodified lines | |||
| 178 | goto cleanup1; | 178 | goto cleanup1; |
| 179 | } | 179 | } |
| 180 | if (err > 0) { | 180 | if (err > 0) { |
| 181 | jbig2_error(ctx, JBIG2_SEVERITY_FATAL, segment->number, "OOB decoding huffman code"); | 181 | code = jbig2_error(ctx, JBIG2_SEVERITY_FATAL, segment->number, "OOB decoding huffman code"); |
| 182 | goto cleanup1; | 182 | goto cleanup1; |
| 183 | } | 183 | } |
| 184 | } | 184 | } |
| @@ -324,7 +324,7 @@ cleanup1: · 139 unmodified lines | |||
| 324 | goto cleanup2; | 324 | goto cleanup2; |
| 325 | } | 325 | } |
| 326 | if (code > 0) { | 326 | if (code > 0) { |
| 327 | jbig2_error(ctx, JBIG2_SEVERITY_WARNING, segment->number, "OOB obtained when decoding symbol instance T coordinate"); | 327 | code = jbig2_error(ctx, JBIG2_SEVERITY_WARNING, segment->number, "OOB obtained when decoding symbol instance T coordinate"); |
| 328 | goto cleanup2; | 328 | goto cleanup2; |
| 329 | } | 329 | } |
| 330 | T = STRIPT + CURT; | 330 | T = STRIPT + CURT; |