Fix bug where ldid would hang if the binary was already signed #5

Merged
merged 1 commit into from Aug 7, 2012

Conversation

Projects
None yet
2 participants

gh2o commented Aug 6, 2012

The _foreach macro contains a bug in which if "break" is called in the inner loop, the look would restart, possibly causing the loop to recur forever and hanging the program.

Specifically, if using "ldid -S" on a binary that is already signed, the "break" at ldid.cpp:640 would cause that loop to loop infinitely.

rpetrich added a commit that referenced this pull request Aug 7, 2012

Merge pull request #5 from gh2o/master
Fix bug where ldid would hang if the binary was already signed

@rpetrich rpetrich merged commit 420ff4f into rpetrich:master Aug 7, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment