Skip to content

Commit

Permalink
Minor update.
Browse files Browse the repository at this point in the history
  • Loading branch information
msuhanov committed Nov 30, 2018
1 parent fddaa89 commit c605ebd
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions ChangeLog
@@ -1,3 +1,9 @@
Version: 1.0.27

RegistryFile: handle an OSError exception during the seek operation.

---

Version: 1.0.26

RegistrySqlite: expose the serialization timestamp (if present).
Expand Down
2 changes: 1 addition & 1 deletion ReadMe
Expand Up @@ -31,7 +31,7 @@ See the 'License' file.

5. Installation

# pip3 install https://github.com/msuhanov/yarp/archive/1.0.26.tar.gz
# pip3 install https://github.com/msuhanov/yarp/archive/1.0.27.tar.gz

6. Known issues

Expand Down
2 changes: 1 addition & 1 deletion yarp/RegistryFile.py
Expand Up @@ -226,7 +226,7 @@ def read_binary(self, pos, length):
try:
self.file_object.seek(self.file_offset + pos)
b = self.file_object.read(length)
except OverflowError:
except (OverflowError, OSError):
raise ReadException('Cannot read data (offset overflow)')

if len(b) == length:
Expand Down
2 changes: 1 addition & 1 deletion yarp/__init__.py
@@ -1,5 +1,5 @@
# yarp: yet another registry parser
# (c) Maxim Suhanov

__version__ = '1.0.26'
__version__ = '1.0.27'
__all__ = [ 'Registry', 'RegistryFile', 'RegistryRecords', 'RegistryRecover', 'RegistryCarve', 'RegistryHelpers' ]

0 comments on commit c605ebd

Please sign in to comment.