Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added ifdef FUNCTION_EXPORT around function export
- Loading branch information
Showing
1 changed file
with
2 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7caac6e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is emergency patch for today's vulnerability which makes function forwarding conditional on the compile-time switch "FUNCTION_EXPORT". We're using it for systems that can't be switched to the Almquist Shell. In the hope that it's useful to others, and for public review, we've posted the patch here. Note that it does not update documentation or anything other than the single affected block.
7caac6e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you want to pick up the upstream shellshock patches through 27 as well, see: 7caac6e~1...no-function-forward
If you want to add the FUNCTION_EXPORT ifdef to an already up-to-date bash, see: master...no-function-forward