Opened 13 years ago
#88 new defect
DYLD_FORCE_FLAT_NAMESPACE breaks copy mode fuzzing on OSX
Reported by: | WD | Owned by: | Sam Hocevar |
---|---|---|---|
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 (1)
Note: See
TracTickets for help on using
tickets.
Patch