Created
December 17, 2008 23:21
-
-
Save febuiles/37290 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| it "returns a tainted string when the format is tainted" do | |
| ["abcd", 0x20].pack("A3C".taint).tainted?.should be_true | |
| end | |
| it "returns a tainted string when the format is tainted even if the given format is empty" do | |
| ["abcd", 0x20].pack("".taint).tainted?.should be_true | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment