Skip to content

Commit 81dbba2

Browse files
runrevmarklivecodepanos
authored andcommitted
[[ Bug 20425 ]] Fix internal extract for 64-bit Mach-O files
This patch ensures that the section extraction code searches for the correct load command in 64-bit slices. (cherry picked from commit 951a48a)
1 parent 9739c28 commit 81dbba2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

engine/src/deploy_macosx.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2747,7 +2747,7 @@ template<typename T> static bool MCDeployExtractArchCallbackBody(MCDeployExtract
27472747
t_section = nil;
27482748
for(uint32_t i = 0; i < t_header . ncmds; i++)
27492749
{
2750-
if (t_commands[i] -> cmd != LC_SEGMENT)
2750+
if (t_commands[i] -> cmd != T::seg_load_command)
27512751
continue;
27522752

27532753
typename T::segment_command *t_segment;

0 commit comments

Comments
 (0)