From 24fbbfb906d9b5af8e82da7af23c4cbd23f7e670 Mon Sep 17 00:00:00 2001 From: Joshua Drake Date: Tue, 6 Jul 2010 17:16:35 +0000 Subject: [PATCH] use fat_offset, from Dino, fixes #2183 git-svn-id: file:///home/svn/framework3/trunk@9682 4d416f70-5f16-0410-b530-b9f4589650da --- lib/rex/machparsey/mach.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rex/machparsey/mach.rb b/lib/rex/machparsey/mach.rb index b377e39118..8167886e9c 100644 --- a/lib/rex/machparsey/mach.rb +++ b/lib/rex/machparsey/mach.rb @@ -88,7 +88,7 @@ class Mach < MachBase end def read(offset, len) - isource.read(offset, len) + isource.read(fat_offset + offset, len) end def index(*args)