We will log the exception, so avoid direct writes to stderr by simply removing these log lines.tags/v1.9.90
} while (b == 255); | } while (b == 255); | ||||
if (end - ptr < len) { | if (end - ptr < len) { | ||||
fprintf (stderr, "ZRLE decode error\n"); | |||||
throw Exception ("ZRLE decode error"); | throw Exception ("ZRLE decode error"); | ||||
} | } | ||||
} while (b == 255); | } while (b == 255); | ||||
if (end - ptr < len) { | if (end - ptr < len) { | ||||
fprintf (stderr, "ZRLE decode error\n"); | |||||
throw Exception ("ZRLE decode error"); | throw Exception ("ZRLE decode error"); | ||||
} | } | ||||
} | } |