Ticket #88 (new defect)

Opened 23 months ago

DYLD_FORCE_FLAT_NAMESPACE breaks copy mode fuzzing on OSX

Reported by: wd Owned by: sam
Priority: major Milestone:
Component: port: OS X Version: SVN
Keywords: Cc:
Product: zzuf

Description

When zzuf runs on OSX, myfork.c executes the following line: setenv("DYLD_FORCE_FLAT_NAMESPACE", "1", 1);

This is presumably to allow zzuf to operate in LD_PRELOAD mode. However, this same pref that allows LD_PRELOAD to work also causes copy mode to break. Cocoa applications will hang when this environment variable is set.

Rather than setting that environment variable via "if defined APPLE", it should be set dynamically at runtime only if copy mode is not being used.

Attachments

zzuf_copymodeosx.patch (575 bytes) - added by wd 22 months ago.
Patch

Change History

Changed 22 months ago by wd

Patch

Note: See TracTickets for help on using tickets.