Message53429
| Author |
jcrocholl |
| Recipients |
| Date |
2007年02月05日.21:55:01 |
| SpamBayes Score |
| Marked as misclassified |
| Message-id |
| In-reply-to |
| Content |
I have come up with a class called SafeString which is the opposite of a tainted string. In my model, all strings are tainted by default, and you have to call untaint() to create a SafeString. Then I replace all functions in the os module with wrapper functions that check all parameters first and raise TaintError if any string is not safe. If I can figure out how to attach a file here, I will post it. Otherwise you may find it on comp.lang.python by the name of taint.py. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2007年08月23日 16:01:57 | admin | link | issue500698 messages |
| 2007年08月23日 16:01:57 | admin | create |
|