Skip to content

Commit

Permalink
Merge 0b1b650 into d07b13a
Browse files Browse the repository at this point in the history
  • Loading branch information
zelivans committed Sep 23, 2018
2 parents d07b13a + 0b1b650 commit 42ac222
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/zip/central_directory.rb
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ def read_e_o_c_d(buf) #:nodoc:
end

def read_central_directory_entries(io) #:nodoc:
raise Error, 'Zip consistency problem with central directory entry offset' if @cdir_offset.nil?
begin
io.seek(@cdir_offset, IO::SEEK_SET)
rescue Errno::EINVAL
Expand Down

0 comments on commit 42ac222

Please sign in to comment.