Information leakage in unexpected error message

Issue #96 resolved
Gfy repo owner created an issue

http://www.srrdb.com/release/details/Badge.of.Honor.2015.720p.BluRay.x264-RUSTED

Trace in Sample/badge.of.honor.2015.720p.bluray.x264-rusted.sample.mkv.txt:

Traceback (most recent call last):
  File "/scripts/pyReScene/resample/srs.py", line 146, in main
    ftype = resample.get_file_type(ifile)
  File "/scripts/pyReScene/resample/main.py", line 109, in get_file_type
    rs = rarstream.RarStream(ifile)
  File "/scripts/pyReScene/rescene/rarstream.py", line 76, in __init__
    if not middle and not _check(first_rar):
  File "/scripts/pyReScene/rescene/rarstream.py", line 45, in _check
    blocks = rar_reader.read_all()
  File "/scripts/pyReScene/rescene/rar.py", line 1575, in read_all
    for block in self:
  File "/scripts/pyReScene/rescene/rar.py", line 1622, in next
    return self.__next__()
  File "/scripts/pyReScene/rescene/rar.py", line 1611, in __next__
    block = self._read()
  File "/scripts/pyReScene/rescene/rar.py", line 1445, in _read
    raise EnvironmentError("Cannot read basic block header.")
EnvironmentError: Cannot read basic block header.
Unexpected Error:
Cannot read basic block header.

Traceback should not be displayed. How to reproduce this error?

Comments (2)

  1. Log in to comment